Skip to content
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

Commit f1276d1

Browse files
committed
🐛 Fix styling issues on 16:10 displays
Close #317
1 parent cc74ec8 commit f1276d1

File tree

1 file changed

+43
-2
lines changed

1 file changed

+43
-2
lines changed

src/assets/css/extra_ratios.css

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,53 @@
11
/* Support for other screen ratios than 16:9 */
22
@media (aspect-ratio: 16/10) {
3+
section#filesystem > h3.title {
4+
width: 43.5vw;
5+
}
6+
7+
div.keyboard_key {
8+
height: 2.5vw;
9+
min-width: 2.5vw;
10+
}
311
div.keyboard_row:last-child {
4-
left: 1.1vh;
12+
left: 0.8vh;
13+
}
14+
div.keyboard_row:last-child div {
15+
white-space: nowrap;
16+
}
17+
div.keyboard_row:last-child div:first-child {
18+
width: 6.5vh;
19+
min-width: 6.5vh;
20+
}
21+
div.keyboard_row:last-child div#keyboard_spacebar {
22+
width: 45vh;
23+
min-width: 45vh;
524
}
625
div.keyboard_row#row_2 > div.keyboard_enter {
7-
top: -0.7vh;
26+
top: -0.9vh;
827
right: -0.9vh;
928
}
29+
30+
/* See #317 */
31+
section.mod_column {
32+
width: 17.5%;
33+
}
34+
div#mod_toplist i {
35+
font-size: 1.10vh;
36+
}
37+
table#mod_toplist_table {
38+
padding-left: 0.2vh;
39+
}
40+
div#mod_toplist::after {
41+
right: -15.6vw;
42+
}
43+
44+
div#mod_netstat_innercontainer {
45+
font-size: 1vh;
46+
}
47+
48+
div#mod_conninfo canvas {
49+
height: 10vh;
50+
}
1051
}
1152

1253
@media (aspect-ratio: 64/27) { /* Commercial name of 64/27 ratio is 21:9 */

0 commit comments

Comments
 (0)