mirror of
https://github.com/9001/copyparty.git
synced 2026-06-18 20:22:27 -06:00
auto stop file column picking when dropdown closed, hide column hide buttons
This commit is contained in:
parent
027558896a
commit
c61f6164f2
|
|
@ -2249,7 +2249,7 @@ html.b .btn {
|
|||
white-space: nowrap;
|
||||
}
|
||||
#files th:hover .cfg {
|
||||
display: block;
|
||||
display: none;
|
||||
width: 1em;
|
||||
border-radius: var(--radius);
|
||||
margin: -1.2em auto 0 auto;
|
||||
|
|
@ -3517,7 +3517,7 @@ details .setting {
|
|||
details {
|
||||
border: var(--bg-u3) solid 1px;
|
||||
border-radius: var(--radius);
|
||||
margin: .3em 0;
|
||||
margin: .3em;
|
||||
}
|
||||
details:not(.open) .setting {
|
||||
display: none;
|
||||
|
|
|
|||
|
|
@ -6186,6 +6186,10 @@ window.thegrid = (function () {
|
|||
|
||||
ebi('h_hidden').onclick = function () {
|
||||
clmod(this.parentElement, 'open', 't');
|
||||
if(!clgot(this.parentElement, 'open') && filecols.picking){
|
||||
filecols.unpick();
|
||||
clmod(ebi('hcolsh'), 'on', r.picking)
|
||||
}
|
||||
}
|
||||
|
||||
var r = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue