From 2e761ca295325e9511ca512514be638d00f5c4be Mon Sep 17 00:00:00 2001 From: tdurieux Date: Wed, 21 Apr 2021 11:20:14 +0200 Subject: [PATCH] improve mobile view --- public/css/style.css | 17 +++++++++--- public/explore.html | 8 +++--- public/index.html | 2 ++ public/partials/anonymize.htm | 2 +- public/partials/dashboard.htm | 49 +++++++++++++++++++++-------------- public/partials/home.htm | 2 +- 6 files changed, 52 insertions(+), 28 deletions(-) diff --git a/public/css/style.css b/public/css/style.css index 08e54db..69c8c27 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -48,8 +48,12 @@ body { line-height: 40px; } +@media (min-width: 768px) { + .navbar-brand { + width: 280px; + } +} .navbar-brand { - width: 280px; text-align: center; } #navbarSupportedContent { @@ -121,12 +125,19 @@ a:hover { .leftCol { position: relative; - height: 100%; - width: 310px; + flex: 0 0 auto; + width: 100%; z-index: 9; background: #ecedef; background: white; } +@media (min-width: 768px) { + .leftCol { + flex: 0 0 310px; + width: 310px; + height: 100%; + } +} .files { position: relative; display: block; diff --git a/public/explore.html b/public/explore.html index 13936a6..e0ce138 100644 --- a/public/explore.html +++ b/public/explore.html @@ -3,6 +3,8 @@ + + Anonymous Github