diff options
author | Mihai Moldovan <ionic@ionic.de> | 2023-09-15 16:03:31 +0200 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2023-09-15 16:03:31 +0200 |
commit | 9faeec2e427ca0fb9316c71204ff0721e16337ed (patch) | |
tree | a24f4674651004d2ecf5e25c9a3dc25ab5c44053 | |
parent | cf4253c78f675aa525a59c07fc98faf504c339fe (diff) | |
parent | e7f11116fcdc20e99bda87ddc4dfdce545749efc (diff) | |
download | arctica-greeter-9faeec2e427ca0fb9316c71204ff0721e16337ed.tar.gz arctica-greeter-9faeec2e427ca0fb9316c71204ff0721e16337ed.tar.bz2 arctica-greeter-9faeec2e427ca0fb9316c71204ff0721e16337ed.zip |
Merge branch 'sunweaver-mr/fix-font-size-without-unit'
Attributes GH PR #65: https://github.com/ArcticaProject/arctica-greeter/pull/65
-rw-r--r-- | src/toggle-box.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/toggle-box.vala b/src/toggle-box.vala index 12072b1..d009088 100644 --- a/src/toggle-box.vala +++ b/src/toggle-box.vala @@ -212,7 +212,7 @@ public class ToggleBox : Gtk.Box var style = new Gtk.CssProvider (); style.load_from_data ("label {\n" + " font-family: \"%s\", sans-serif;\n".printf (font_family) + - " font-size: %d;\n".printf (font_size + 2) + + " font-size: %dpt;\n".printf (font_size - 1) + "}\n" + "label.high_contrast {\n" + " color: %s;\n".printf ("rgba(255, 255, 255, 1.0)") + |