From a20243ee10172ff9a661275dff0e4c07b1db947c Mon Sep 17 00:00:00 2001 From: paul Date: Mon, 3 Aug 2015 08:30:27 +0000 Subject: [PATCH] display improvements for small screens svn path=/trunk/; revision=75 --- templates/common.css.sh | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/templates/common.css.sh b/templates/common.css.sh index da390b5..b8c7ec4 100755 --- a/templates/common.css.sh +++ b/templates/common.css.sh @@ -164,7 +164,7 @@ a.clearsearch, a.show, .pagination_nav { vertical-align: top; word-wrap: break-word; } -@media (min-width: 480px){#thumblist .thumb{width: 50%;}} +@media (min-width: 480px){#thumblist .thumb{width: 49.5%;}} @media (min-width: 640px){#thumblist .thumb{width: 33%;}} @media (min-width: 1024px){#thumblist .thumb{width: 256px;}} @@ -187,10 +187,16 @@ a.clearsearch, a.show, .pagination_nav { margin: .75em .5em; } -#tagger { display: none; } -#tagger:target { +#tagger, +#preferences { + display: none; +} +#tagger:target, +#preferences:target { display: block; z-index: 1; + max-height: 100%; + overflow-y: scroll; } #tagger .newtag select, #tagger .newtag .label{ @@ -198,11 +204,6 @@ a.clearsearch, a.show, .pagination_nav { width: 10em; } -#preferences { display: none; } -#preferences:target { - display: block; - z-index: 1; -} #preferences > fieldset { border: solid 1px; border-radius: .25em; -- 2.39.2