aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/templates/language.html.tmpl
diff options
context:
space:
mode:
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;