Fix window control in RTL (#4348)

fix: #4332
This commit is contained in:
windingwind 2024-07-09 15:56:19 +08:00 committed by GitHub
parent 2d3375e9f6
commit 006c6e890a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View file

@ -1,5 +1,10 @@
#titlebar {
margin-bottom: calc(0px - var(--tab-min-height));
.titlebar-buttonbox {
// Fix RTL alignment
width: fit-content;
}
}
.menubar-container {

View file

@ -117,7 +117,7 @@
/* Titlebar */
.titlebar-buttonbox {
right: 0px;
inset-inline-end: 0px;
position: absolute;
height: var(--tab-min-height);
appearance: none;