fix(right_pane_widget): toggle button clipped on desktop

This commit is contained in:
Elian Doran 2025-12-19 22:23:46 +02:00
parent 45dd47d039
commit 7d386c249a
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View File

@ -116,6 +116,7 @@ export default class DesktopLayout {
.css("flex-grow", "1")
.optChild(!fullWidthTabBar,
new FlexContainer("row")
.class("tab-row-container")
.child(<TabHistoryNavigationButtons />)
.child(new TabRowWidget())
.optChild(isNewLayout, <RightPaneToggle />)

View File

@ -1961,7 +1961,7 @@ body.electron.platform-darwin:not(.native-titlebar):not(.full-screen) #tab-row-l
width: 80px;
}
.tab-row-widget {
.tab-row-container {
padding-inline-end: calc(100vw - env(titlebar-area-width, 100vw));
}