gnome-shell: Fix oversized screen keyboard on some displays
Thanks to @NicoVarg99's PR #315
Fixes #281
Thanks to @NicoVarg99's PR #315
Fixes #281
by roundabout, Sunday, 25 November 2018, 04:34:58 (1543120498), pushed by roundabout, Sunday, 11 May 2025, 13:22:29 (1746969749)
Author identity: nana-4 <hnmaigo@gmail.com>
a21df6e1309b7630729f8b2c4c05deed3d2ea546
.keyboard-row { spacing: 15px; }
.keyboard-key {
min-height: $medium_size * 2;
min-width: $medium_size * 2;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: $material_radius;
border: none;
color: inherit;
@include button(normal);
&:focus { @include button(focus); }
&:hover,&:checked { @include button(hover); }
.keyboard-row { spacing: 15px; }
.keyboard-key {
min-height: $medium_size * 2;
min-width: $medium_size * 2;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: $material_radius;
border: none;
color: inherit;
@include button(normal);
&:focus { @include button(focus); }
&:hover,&:checked { @include button(hover); }
.keyboard-row { spacing: 15px; }
.keyboard-key {
min-height: $medium_size * 2;
min-width: $medium_size * 2;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: $material_radius;
border: none;
color: inherit;
@include button(normal);
&:focus { @include button(focus); }
&:hover,&:checked { @include button(hover); }
.word-suggestions {
@include font(subheading);
spacing: 12px;
min-height: 40px;
min-height: 20pt;
}
#keyboard {
}
.keyboard-key {
min-height: $medium_size * 2;
min-width: $medium_size * 2;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: $material_radius;
border: none;
color: inherit;
@include button(normal);
&:focus { @include button(focus); }
&:hover,&:checked { @include button(hover); }
.word-suggestions {
@include font(subheading);
spacing: 12px;
min-height: 40px;
min-height: 20pt;
}
#keyboard {
}
.keyboard-key {
min-height: $medium_size * 2;
min-width: $medium_size * 2;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: $material_radius;
border: none;
color: inherit;
@include button(normal);
&:focus { @include button(focus); }
&:hover,&:checked { @include button(hover); }
}
.keyboard-key {
min-height: 64px;
min-width: 64px;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: 4px;
border: none;
color: inherit;
color: rgba(0, 0, 0, 0.62);
background-color: #FAFAFA;
border-color: transparent;
}
.keyboard-key {
min-height: 64px;
min-width: 64px;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: 4px;
border: none;
color: inherit;
color: rgba(255, 255, 255, 0.8);
background-color: #424242;
border-color: transparent;
}
.keyboard-key {
min-height: 72px;
min-width: 72px;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: 4px;
border: none;
color: inherit;
color: rgba(255, 255, 255, 0.8);
background-color: #424242;
border-color: transparent;
}
.keyboard-key {
min-height: 64px;
min-width: 64px;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: 4px;
border: none;
color: inherit;
color: rgba(0, 0, 0, 0.62);
background-color: #FAFAFA;
border-color: transparent;
}
.keyboard-key {
min-height: 72px;
min-width: 72px;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: 4px;
border: none;
color: inherit;
color: rgba(0, 0, 0, 0.62);
background-color: #FAFAFA;
border-color: transparent;
}
.keyboard-key {
min-height: 72px;
min-width: 72px;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: 4px;
border: none;
color: inherit;
color: rgba(0, 0, 0, 0.62);
background-color: #FAFAFA;
border-color: transparent;
}
.keyboard-key {
min-height: 64px;
min-width: 64px;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: 4px;
border: none;
color: inherit;
color: rgba(0, 0, 0, 0.62);
background-color: #FAFAFA;
border-color: transparent;
}
.keyboard-key {
min-height: 64px;
min-width: 64px;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: 4px;
border: none;
color: inherit;
color: rgba(255, 255, 255, 0.8);
background-color: #424242;
border-color: transparent;
}
.keyboard-key {
min-height: 72px;
min-width: 72px;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: 4px;
border: none;
color: inherit;
color: rgba(255, 255, 255, 0.8);
background-color: #424242;
border-color: transparent;
}
.keyboard-key {
min-height: 64px;
min-width: 64px;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: 4px;
border: none;
color: inherit;
color: rgba(0, 0, 0, 0.62);
background-color: #FAFAFA;
border-color: transparent;
}
.keyboard-key {
min-height: 72px;
min-width: 72px;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: 4px;
border: none;
color: inherit;
color: rgba(0, 0, 0, 0.62);
background-color: #FAFAFA;
border-color: transparent;
}
.keyboard-key {
min-height: 72px;
min-width: 72px;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: 4px;
border: none;
color: inherit;
color: rgba(0, 0, 0, 0.62);
background-color: #FAFAFA;
border-color: transparent;
}
.keyboard-key {
min-height: 64px;
min-width: 64px;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: 4px;
border: none;
color: inherit;
color: rgba(0, 0, 0, 0.62);
background-color: #FAFAFA;
border-color: transparent;
}
.keyboard-key {
min-height: 64px;
min-width: 64px;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: 4px;
border: none;
color: inherit;
color: rgba(255, 255, 255, 0.8);
background-color: #424242;
border-color: transparent;
}
.keyboard-key {
min-height: 72px;
min-width: 72px;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: 4px;
border: none;
color: inherit;
color: rgba(255, 255, 255, 0.8);
background-color: #424242;
border-color: transparent;
}
.keyboard-key {
min-height: 64px;
min-width: 64px;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: 4px;
border: none;
color: inherit;
color: rgba(0, 0, 0, 0.62);
background-color: #FAFAFA;
border-color: transparent;
}
.keyboard-key {
min-height: 72px;
min-width: 72px;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: 4px;
border: none;
color: inherit;
color: rgba(0, 0, 0, 0.62);
background-color: #FAFAFA;
border-color: transparent;
}
.keyboard-key {
min-height: 72px;
min-width: 72px;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: 4px;
border: none;
color: inherit;
color: rgba(0, 0, 0, 0.62);
background-color: #FAFAFA;
border-color: transparent;
font-size: 11.25pt;
font-weight: 400;
spacing: 12px;
min-height: 40px;
min-height: 20pt;
}
#keyboard {
}
.keyboard-key {
min-height: 64px;
min-width: 64px;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: 4px;
border: none;
color: inherit;
color: rgba(0, 0, 0, 0.62);
background-color: #FAFAFA;
border-color: transparent;
font-size: 11.25pt;
font-weight: 400;
spacing: 12px;
min-height: 40px;
min-height: 20pt;
}
#keyboard {
}
.keyboard-key {
min-height: 64px;
min-width: 64px;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: 4px;
border: none;
color: inherit;
color: rgba(255, 255, 255, 0.8);
background-color: #424242;
border-color: transparent;
font-size: 12pt;
font-weight: 400;
spacing: 12px;
min-height: 40px;
min-height: 20pt;
}
#keyboard {
}
.keyboard-key {
min-height: 72px;
min-width: 72px;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: 4px;
border: none;
color: inherit;
color: rgba(255, 255, 255, 0.8);
background-color: #424242;
border-color: transparent;
font-size: 11.25pt;
font-weight: 400;
spacing: 12px;
min-height: 40px;
min-height: 20pt;
}
#keyboard {
}
.keyboard-key {
min-height: 64px;
min-width: 64px;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: 4px;
border: none;
color: inherit;
color: rgba(0, 0, 0, 0.62);
background-color: #FAFAFA;
border-color: transparent;
font-size: 12pt;
font-weight: 400;
spacing: 12px;
min-height: 40px;
min-height: 20pt;
}
#keyboard {
}
.keyboard-key {
min-height: 72px;
min-width: 72px;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: 4px;
border: none;
color: inherit;
color: rgba(0, 0, 0, 0.62);
background-color: #FAFAFA;
border-color: transparent;
font-size: 12pt;
font-weight: 400;
spacing: 12px;
min-height: 40px;
min-height: 20pt;
}
#keyboard {
}
.keyboard-key {
min-height: 72px;
min-width: 72px;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: 4px;
border: none;
color: inherit;
color: rgba(0, 0, 0, 0.62);
background-color: #FAFAFA;
border-color: transparent;
font-size: 11.25pt;
font-weight: 400;
spacing: 12px;
min-height: 40px;
min-height: 20pt;
}
#keyboard {
}
.keyboard-key {
min-height: 64px;
min-width: 64px;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: 4px;
border: none;
color: inherit;
color: rgba(0, 0, 0, 0.62);
background-color: #FAFAFA;
border-color: transparent;
font-size: 11.25pt;
font-weight: 400;
spacing: 12px;
min-height: 40px;
min-height: 20pt;
}
#keyboard {
}
.keyboard-key {
min-height: 64px;
min-width: 64px;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: 4px;
border: none;
color: inherit;
color: rgba(255, 255, 255, 0.8);
background-color: #424242;
border-color: transparent;
font-size: 12pt;
font-weight: 400;
spacing: 12px;
min-height: 40px;
min-height: 20pt;
}
#keyboard {
}
.keyboard-key {
min-height: 72px;
min-width: 72px;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: 4px;
border: none;
color: inherit;
color: rgba(255, 255, 255, 0.8);
background-color: #424242;
border-color: transparent;
font-size: 11.25pt;
font-weight: 400;
spacing: 12px;
min-height: 40px;
min-height: 20pt;
}
#keyboard {
}
.keyboard-key {
min-height: 64px;
min-width: 64px;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: 4px;
border: none;
color: inherit;
color: rgba(0, 0, 0, 0.62);
background-color: #FAFAFA;
border-color: transparent;
font-size: 12pt;
font-weight: 400;
spacing: 12px;
min-height: 40px;
min-height: 20pt;
}
#keyboard {
}
.keyboard-key {
min-height: 72px;
min-width: 72px;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: 4px;
border: none;
color: inherit;
color: rgba(0, 0, 0, 0.62);
background-color: #FAFAFA;
border-color: transparent;
font-size: 12pt;
font-weight: 400;
spacing: 12px;
min-height: 40px;
min-height: 20pt;
}
#keyboard {
}
.keyboard-key {
min-height: 72px;
min-width: 72px;
min-height: 2em;
min-width: 2em;
font-size: 2em;
font-weight: 500;
border-radius: 4px;
border: none;
color: inherit;
color: rgba(0, 0, 0, 0.62);
background-color: #FAFAFA;
border-color: transparent;