mirror of
https://github.com/offa/android-foss.git
synced 2026-07-21 17:35:38 +02:00
refactor: non-responsive fixed width layout (#637)
The CSS sets a fixed width of `960px` for the `main` element. This overrides the responsiveness intended by the viewport meta tag, causing horizontal scrolling on mobile devices or small windows. Affected files: index.html Signed-off-by: tryboi <270171460+tryboi@users.noreply.github.com>
This commit is contained in:
+2
-1
@@ -12,7 +12,8 @@
|
|||||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
width: 960px;
|
max-width: 960px;
|
||||||
|
width: 100%;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
select
|
select
|
||||||
|
|||||||
Reference in New Issue
Block a user