Skip to content

Commit

Permalink
theme: Fix missing text on virtual keyboard
Browse files Browse the repository at this point in the history
Use em to set the button size. This allows the size to adjust when the
keyboard size is changed. Also fix the boxpointer menu that holds the
subkeys.

Fixes: linuxmint/mint22.1-beta#25
  • Loading branch information
JosephMcc committed Dec 14, 2024
1 parent 5174d3c commit e327327
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions data/theme/cinnamon-sass/widgets/_keyboard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
&-key {
@extend %button;

min-height: 30px;
min-width: 30px;
min-height: 2em;
min-width: 2em;
padding: 0;
font-size: 1.2em;
font-weight: bold;

Expand All @@ -23,7 +24,10 @@

&-subkeys {
padding: $base_padding;
-arrow-border-radius: $borders_color;
-arrow-background-color: $bg_color;
-arrow-border-width: 1px;
-arrow-border-radius: $base_border_radius;
-arrow-border-color: lighten($borders_color, 10%);
-arrow-base: 20px;
-arrow-rise: 10px;
-boxpointer-gap: 0;
Expand Down

0 comments on commit e327327

Please sign in to comment.