From 09c14f86630c8123d41a80c23c4496f408f95ace Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Fri, 31 Jan 2025 21:50:07 +0200 Subject: [PATCH] style(next): settings/appearance: fix the length of font size input boxes --- .../app/widgets/type_widgets/options/appearance/fonts.ts | 8 ++++---- src/public/stylesheets/theme-next/settings.css | 9 +++++++++ 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/src/public/app/widgets/type_widgets/options/appearance/fonts.ts b/src/public/app/widgets/type_widgets/options/appearance/fonts.ts index 77030fba2..900c91cba 100644 --- a/src/public/app/widgets/type_widgets/options/appearance/fonts.ts +++ b/src/public/app/widgets/type_widgets/options/appearance/fonts.ts @@ -65,7 +65,7 @@ const TPL = `
-
+
%
@@ -83,7 +83,7 @@ const TPL = `
-
+
%
@@ -101,7 +101,7 @@ const TPL = `
-
+
%
@@ -119,7 +119,7 @@ const TPL = `
-
+
%
diff --git a/src/public/stylesheets/theme-next/settings.css b/src/public/stylesheets/theme-next/settings.css index e2f1b7467..4a77f6228 100644 --- a/src/public/stylesheets/theme-next/settings.css +++ b/src/public/stylesheets/theme-next/settings.css @@ -71,3 +71,12 @@ padding: 0; margin-bottom: 1em; } + +/* Appeareance */ + +.main-font-size-input-group, +.tree-font-size-input-group, +.detail-font-size-input-group, +.monospace-font-size-input-group { + width: fit-content; +} \ No newline at end of file