diff --git a/cntr-monitor/src/components/Post.js b/cntr-monitor/src/components/Post.js index a91ea6d0..82353b77 100644 --- a/cntr-monitor/src/components/Post.js +++ b/cntr-monitor/src/components/Post.js @@ -172,25 +172,28 @@ export default function Post({ data, pageContext, children }) { return found !== -1 }) } + const next = posts[currentIndex + 1] || null const previous = posts[currentIndex - 1] || null +// media machine: "previous" and "next" relative path wrong? '/2024/' instead of '../' for the english version. + // The problem is not yet solved, just patched up. + const pagination = ( + + ) const translationData = { translations: data.translations.nodes, @@ -249,7 +252,7 @@ export function Head({ data, pageContext, location }) { } const { primary, dark, light, knockout } = useColors( data.issue.childMdx.frontmatter.color, - ['Analyse', 'Analysis', 'Anhang', 'Appendix'].includes(data.post.childMdx.frontmatter.category) + ['Analyse', 'Analysen', 'Analysis', 'Focus', 'Fokus', 'Anhang', 'Appendix'].includes(data.post.childMdx.frontmatter.category) ) const bodyStyles = { diff --git a/cntr-monitor/src/components/_vars.scss b/cntr-monitor/src/components/_vars.scss index bf0a865f..1fb23c75 100644 --- a/cntr-monitor/src/components/_vars.scss +++ b/cntr-monitor/src/components/_vars.scss @@ -158,3 +158,24 @@ letter-spacing: 0.065em; word-spacing: 0.02em; } +table{ + text-align: left; + font-size: small; + line-height: 1.1rem; + border: 1px solid; + margin-bottom: 0.5rem; + tr{ + vertical-align: top; + } + th,td{ + border: 1px solid; + padding: 15px 5px; + } + thead{ + tr{ + font-weight: bold; + background: var(--fc-light); + border-bottom: 1px solid; + } + } +} diff --git a/cntr-monitor/src/components/global.scss b/cntr-monitor/src/components/global.scss index d091acf9..cf469edd 100644 --- a/cntr-monitor/src/components/global.scss +++ b/cntr-monitor/src/components/global.scss @@ -154,7 +154,7 @@ img { word-break: break-word; display: inline-block; position: relative; - padding-left: 1em; + padding-left: 1.5em; width: 100%; border-radius: 3px; &:target {