diff --git a/docusaurus.config.js b/docusaurus.config.js index de8163604..42c3ef22a 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -47,7 +47,7 @@ const config = { remarkPlugins: [remarkMath], rehypePlugins: [rehypeKatex], editUrl: - 'https://github.com/risk-first/website/blon/master/', + 'https://github.com/risk-first/website/blob/master/', }, blog: false, theme: { diff --git a/src/theme/TagList/index.js b/src/theme/TagList/index.js index c9cb0f0ef..a5189952c 100644 --- a/src/theme/TagList/index.js +++ b/src/theme/TagList/index.js @@ -10,7 +10,7 @@ function DocItemImage({ doc }) { const imageLink = "/img/generated/single/" + pl + ".png" return ( - +
@@ -44,7 +44,7 @@ export default function TagList(props) { oneTag.sort((a, b) => a.order - b.order); return ( -
+
{ oneTag .filter(d => d.permalink.indexOf(filter) > -1) diff --git a/src/theme/TagList/styles.module.css b/src/theme/TagList/styles.module.css index 5cb3c7a4d..2dbb2c560 100644 --- a/src/theme/TagList/styles.module.css +++ b/src/theme/TagList/styles.module.css @@ -5,20 +5,7 @@ .docItem { border: 1px solid var(--docusaurus-tag-list-border); transition: border var(--ifm-transition-fast); - margin-right: 0.2rem; margin-bottom: .5rem; - padding: 1rem; -} - -.tag:hover { - --docusaurus-tag-list-border: var(--ifm-link-color); - text-decoration: none; -} - -.tagRegular { - border-radius: var(--ifm-global-radius); - padding: 0.2rem 0.5rem 0.3rem; - font-size: 90%; } .columns { @@ -29,6 +16,13 @@ .left { flex-basis: 15rem; flex-shrink: 0; + flex-grow: 0; + padding: 0; + margin: 0; +} + +.left img { + padding: 0; } .description { @@ -36,5 +30,6 @@ } .right { - flex-grow: 1; + flex-grow: .7; + padding: 1rem; } \ No newline at end of file