Skip to content

Commit ea10606

Browse files
committed
fix help pages rendering for thin screens
padding + column count for index page
1 parent 82d5c17 commit ea10606

2 files changed

Lines changed: 24 additions & 3 deletions

File tree

wiktionary_pron/help/help.css

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
#content {
22
max-width: 800px;
33
margin: auto;
4-
text-align: justify;
4+
text-align: left;
5+
}
6+
7+
#help_list {
8+
column-count: 2;
9+
column-gap: 2rem;
10+
margin-top: 1.5rem;
11+
}
12+
13+
@media (max-width: 500px) {
14+
#help_list {
15+
column-count: 1;
16+
column-gap: 2rem;
17+
margin-top: 1.5rem;
18+
}
19+
}
20+
21+
@media (max-width: 767px) {
22+
body {
23+
padding: 18px;
24+
}
525
}

wiktionary_pron/help/index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ <h2>Language-Specific Help Pages</h2>
2323

2424
<p>Choose a language below to view its specific help and documentation:</p>
2525

26-
<div style="column-count: 2; column-gap: 2rem; margin-top: 1.5rem;">
26+
<div id="help_list" style="">
2727
<div style="break-inside: avoid;">
2828
<h3 style="margin-top: 0; margin-bottom: 0.5rem;">Germanic Languages</h3>
2929
<ul style="margin-top: 0; break-inside: avoid;">
@@ -105,4 +105,5 @@ <h2>Navigation</h2>
105105
</div>
106106

107107
</body>
108-
</html>
108+
</html>
109+

0 commit comments

Comments
 (0)