From e47b297410db2865a9efd2685d8706ae5310e5a3 Mon Sep 17 00:00:00 2001 From: Timur Ismagilov Date: Mon, 9 Aug 2021 00:51:37 +0500 Subject: [PATCH] Add the gap on mobile devices Gotta think what to do with those arrows btw --- static/default.css | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/static/default.css b/static/default.css index 3856a49..c3d8071 100644 --- a/static/default.css +++ b/static/default.css @@ -30,7 +30,7 @@ header { width: 100%; margin-bottom: 1rem; } .amnt-grid { grid-template-columns: 1fr; } .layout { grid-template-columns: auto; grid-template-rows: auto auto auto; } .main-width { width: 100%; } - main { padding: 1rem; margin: 0; } + main { padding: .5rem 1rem 1rem 1rem; } } @media screen and (min-width: 500px) { @@ -196,10 +196,6 @@ table, } .transclusion_blend .transclusion__link { display: none; } -@media screen and (max-width: 800px) { - main { padding-top: 0; } -} - .layout-card { border-radius: .25rem; background-color: white; } .layout-card__title { font-size: 1rem; margin: 0; padding: .25rem .5rem; border-radius: .25rem .25rem 0 0; } .layout-card__title { border-bottom: 1px solid #eee; }