Merge pull request #20895 from calixteman/issue20893

Fix the position of 'Attachments' in the sidebar
This commit is contained in:
calixteman 2026-03-18 11:24:22 +01:00 committed by GitHub
commit 979d9c3091
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;