From 53192525c914f87eb8c29c3737971a79eefeaeb8 Mon Sep 17 00:00:00 2001 From: handlerug Date: Mon, 25 Jan 2021 16:22:39 +0700 Subject: [PATCH] fix(ui): content min-width on large displays --- templates/asset.qtpl.go | 2 +- templates/default.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/asset.qtpl.go b/templates/asset.qtpl.go index 50bf182..c42746f 100644 --- a/templates/asset.qtpl.go +++ b/templates/asset.qtpl.go @@ -25,7 +25,7 @@ func StreamDefaultCSS(qw422016 *qt422016.Writer) { //line templates/asset.qtpl:2 qw422016.N().S(`/* Layout stuff */ @media screen and (min-width: 800px) { - main { padding:1rem 2rem; margin: 0 auto; min-width: 500px; max-width: 800px; border-radius: .25rem; } + main { padding:1rem 2rem; margin: 0 auto; min-width: 800px; max-width: 800px; border-radius: .25rem; } .hypha-tabs { padding: 1rem 2rem; margin: 0 auto; min-width: 500px; max-width: 800px; } header { width: 100%; } .header-links { margin: 0 auto; min-width: 500px; max-width: 800px; } diff --git a/templates/default.css b/templates/default.css index fc7e7e5..353829b 100644 --- a/templates/default.css +++ b/templates/default.css @@ -1,6 +1,6 @@ /* Layout stuff */ @media screen and (min-width: 800px) { - main { padding:1rem 2rem; margin: 0 auto; min-width: 500px; max-width: 800px; border-radius: .25rem; } + main { padding:1rem 2rem; margin: 0 auto; min-width: 800px; max-width: 800px; border-radius: .25rem; } .hypha-tabs { padding: 1rem 2rem; margin: 0 auto; min-width: 500px; max-width: 800px; } header { width: 100%; } .header-links { margin: 0 auto; min-width: 500px; max-width: 800px; }