mirror of
https://github.com/zotero/zotero.git
synced 2026-10-08 03:08:19 +00:00
Bug 2008041's change to boolean attributes also covers hidden and
collapsed, whose UA selectors became [hidden] and [collapsed], so
setAttribute('hidden', false) now hides the element. Switch the setters
that can be passed a falsy value to toggleAttribute(), read them with
hasAttribute(), and match the [collapsed=true] selectors in our own
stylesheets to the new presence-only form.
36 lines
610 B
SCSS
36 lines
610 B
SCSS
item-pane {
|
|
flex-grow: 0;
|
|
flex-shrink: 1;
|
|
min-width: var(--width-available-item-pane, $min-width-item-pane + $width-sidenav);
|
|
min-height: $min-width-item-pane + $width-sidenav;
|
|
|
|
&[collapsed] {
|
|
min-width: $width-sidenav;
|
|
min-height: $width-sidenav;
|
|
max-width: $width-sidenav;
|
|
|
|
visibility: inherit;
|
|
|
|
&.stacked {
|
|
max-width: unset;
|
|
max-height: $width-sidenav;
|
|
}
|
|
|
|
#zotero-item-pane-content {
|
|
visibility: collapse;
|
|
}
|
|
}
|
|
|
|
&.stacked {
|
|
flex-direction: column;
|
|
height: 0px;
|
|
|
|
#zotero-item-pane-content {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
#batch-edit-prompt-message {
|
|
padding: 3px 8px;
|
|
}
|
|
}
|