Skip to content

Commit 1194626

Browse files
committed
Fix layout issues on small screens
1 parent f1edd48 commit 1194626

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

frontend/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<h1>PTSA - Public Transport Stop Analysis for OSM</h1>
1818
<p id="logo">
1919
<span style="font-size: xx-small;">provided by</span><br />
20-
<a href="https://www.whz.de"><img src="logo_whz.svg" alt="Logo of Zwickau University of Applied Sciences" style="height: 45px; padding-top: 3px;" /></a>
20+
<a href="https://www.whz.de"><img src="logo_whz.svg" alt="Logo of Zwickau University of Applied Sciences" /></a>
2121
<p>
2222
<p id="imprint">
2323
<a style="font-weight: bold;" href="data.html">Data</a> |

frontend/map.css

+24
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,19 @@ header h1 {
2020
padding-left: 10px;
2121
padding-top: 5px;
2222
font-size: 30px;
23+
width: 70%;
24+
}
25+
26+
@media (max-width: 70em) {
27+
header h1 {
28+
font-size: 24px;
29+
}
30+
}
31+
32+
@media (max-width: 50em) {
33+
header h1 {
34+
font-size: 18px;
35+
}
2336
}
2437

2538
#imprint {
@@ -41,6 +54,17 @@ header h1 {
4154
padding-right: 10px;
4255
}
4356

57+
#logo img {
58+
height: 45px;
59+
padding-top: 3px;
60+
}
61+
62+
@media (max-width: 40em) {
63+
#logo img {
64+
height: 30px;
65+
}
66+
}
67+
4468
#content {
4569
overflow: hidden;
4670
position: absolute;

0 commit comments

Comments
 (0)