diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index f10c72ba..9ee28a0f 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -1180,7 +1180,6 @@ html.y #widget.open { #wtgrid, #wtgrid2, #wtico { position: relative; - font-size: .9em; top: -.04em; } #wtgrid, #wtgrid2 { @@ -1418,23 +1417,14 @@ html.y #widget.open { height: 1.3em; margin-right: .3em; } -#widget.cmp { - height: 1.6em; - bottom: -1.6em; -} -#widget.cmp.open { - bottom: 0; -} #widget.cmp #wtoggle { font-size: 1.2em; } #widget.cmp #fshr { display: none; } -#widget.cmp #pctl .icon { - top: 0; - left: 0; - font-size: .75em; +#widget.cmp { + font-size: 1em; } #widget.cmp #barpos, #widget.cmp #barbuf { @@ -3445,6 +3435,9 @@ html.d #treepar { #widget, #wrap { margin-left: 0 !important; } + #widget { + font-size: 1.6em; + } #pathBar { display: block; } @@ -3470,6 +3463,9 @@ html.d #treepar { #s_divider { display: none; } + #pctl { + padding: .2em .5em .5em .5em; + } } @media (max-width: 32em) { #u2conf { diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 396d8511..134e6b10 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -2451,7 +2451,7 @@ var pbar = (function () { var m1 = pctx.measureText(t1), m1b = pctx.measureText(t1 + ":88"), m2 = pctx.measureText(t2), - yt = pc.h * 0.65, + yt = pc.h * 0.7, xt1 = pc.w - (m1.width + 12), xt2 = x < m1.width * 1.4 ? (x + 12) : (Math.min(pc.w - m1b.width, x - 12) - m2.width);