Fix the position of 'Attachments' in the sidebar

It fixes #20893.
This commit is contained in:
Calixte Denizet 2026-03-16 15:28:15 +01:00
parent 0ee557cd60
commit 44f4627600

View File

@ -252,7 +252,7 @@
background-color: var(--header-bg);
.viewsManagerLabel {
flex: 0;
flex: 1 1 auto;
color: var(--text-color);
text-align: center;
height: fit-content;
@ -275,6 +275,17 @@
width: auto;
padding: 12px 16px 12px 8px;
&:not(:has(#viewsManagerHeaderLabel ~ button:not([hidden])))::after {
/* If one of the following buttons is visible, hide the placeholder
button to avoid unnecessary space in the header. */
content: "";
flex: 0 0 auto;
width: 32px;
height: 32px;
pointer-events: none;
}
#viewsManagerSelector {
width: 48px;
height: 32px;