mirror of
https://github.com/KevinMidboe/seasoned.git
synced 2026-03-09 19:09:07 +00:00
mobile improvements
tries to setup layout for success with safari iso 26 bottom navigation bar and having content appear behind it instead of having a fat lip of background color. Also fixes where main content was not taking full width on mobile & text alignment on torrent search results.
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, viewport-fit=cover, initial-scale=1"
|
||||
/>
|
||||
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500&subset=cyrillic"
|
||||
|
||||
@@ -58,13 +58,14 @@
|
||||
|
||||
.content {
|
||||
display: grid;
|
||||
width: calc(100% - var(--header-size));
|
||||
grid-column: 2 / 3;
|
||||
width: calc(100% - var(--header-size));
|
||||
grid-row: 2;
|
||||
z-index: 5;
|
||||
|
||||
@include mobile {
|
||||
grid-column: 1 / 3;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -137,7 +137,7 @@
|
||||
}
|
||||
|
||||
@include mobile {
|
||||
text-align: left;
|
||||
padding: 0 0.8rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -14,7 +14,7 @@
|
||||
}
|
||||
|
||||
html {
|
||||
height: 100%;
|
||||
height: unset;
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
|
||||
Reference in New Issue
Block a user