summaryrefslogtreecommitdiff
path: root/public/css/modules
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-23 19:11:31 +0100
committerJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-23 19:11:31 +0100
commitc151d65c12bb2879c0b66e7e1b9ece5bea35ea7a (patch)
treec106da439da722c1f5c56e2a38f2423902eda60b /public/css/modules
parent46f83e14bc0dca5376f21eb265d597a6ccf21d0c (diff)
Better prose width handling
Diffstat (limited to 'public/css/modules')
-rw-r--r--public/css/modules/btn.css1
-rw-r--r--public/css/modules/committee.md.css2
-rw-r--r--public/css/modules/news-index.css1
3 files changed, 3 insertions, 1 deletions
diff --git a/public/css/modules/btn.css b/public/css/modules/btn.css
index 5bc4f35..fcfd02e 100644
--- a/public/css/modules/btn.css
+++ b/public/css/modules/btn.css
@@ -5,6 +5,7 @@
border: solid 2px var(--text-color);
font-weight: 500;
text-align: center;
+ margin-block-start: var(--margin-block-sm);
padding-inline: var(--padding-inline-md);
padding-block: var(--padding-block-sm);
background-color: transparent;
diff --git a/public/css/modules/committee.md.css b/public/css/modules/committee.md.css
index f0eb9ac..83ca252 100644
--- a/public/css/modules/committee.md.css
+++ b/public/css/modules/committee.md.css
@@ -12,5 +12,5 @@
}
.committee__member__text {
- grid-column: 3 / min(9, calc(var(--grid-column-count) + 1));
+ grid-column: 3 / calc(3 + var(--grid-prose-column-count) - 2);
} \ No newline at end of file
diff --git a/public/css/modules/news-index.css b/public/css/modules/news-index.css
index 48c455d..078d11f 100644
--- a/public/css/modules/news-index.css
+++ b/public/css/modules/news-index.css
@@ -5,6 +5,7 @@
transition: background 100ms;
padding-block: var(--margin-block-md);
padding-inline: var(--padding-inline-sm);
+ width: var(--width-prose);
}
.news-index__item:not(:first-child) {