aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/templates/language.html.tmpl
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2025-08-01 21:24:48 +0200
committerThomas Voss <mail@thomasvoss.com> 2025-08-01 21:24:48 +0200
commitafe6a6c8b77a7f1ae99190ab782cdba1f5ee422d (patch)
tree75ea25561cde327a9feb8d81aa81e89dbdee54c6 /src/templates/language.html.tmpl
parent86dd0a1c532f44ae605640c31c62098d14459db4 (diff)
Move .country-grid styling to the correct file
Diffstat (limited to 'src/templates/language.html.tmpl')
-rw-r--r--src/templates/language.html.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/templates/language.html.tmpl b/src/templates/language.html.tmpl
index c67ca11..e8d8863 100644
--- a/src/templates/language.html.tmpl
+++ b/src/templates/language.html.tmpl
@@ -9,6 +9,8 @@
}
.lang-grid {
+ --button-min-width: 22ch;
+
button {
display: flex;
align-items: center;
@@ -18,7 +20,7 @@
> :first-child {
font-size: 2em;
font-weight: 600; /* Between normal and bold */
- width: calc(var(--form-element-spacing-horizontal) * 2 + 2ch);
+ min-width: calc(var(--form-element-spacing-horizontal) * 2 + 2ch);
}
> :nth-child(2) {
text-align: left;