revert changes in tabs2.less

This commit is contained in:
Red Adaya 2024-04-04 11:09:32 +08:00
parent 7a377c4a2a
commit 1038a08789

View File

@ -27,19 +27,19 @@
// This ensures the tab bar does not collide with the floating logo. The floating logo sits above the sidebar when it is not collapsed, so no additional margin is needed in that case.
// More margin is given on macOS to account for the traffic light buttons
#app.platform-darwin.mainsidebar-collapsed .screen-tabs-container {
#main.platform-darwin.mainsidebar-collapsed .screen-tabs-container {
margin-left: var(--floating-logo-width-darwin);
}
#app:not(.platform-darwin).mainsidebar-collapsed .screen-tabs-container {
#main:not(.platform-darwin).mainsidebar-collapsed .screen-tabs-container {
margin-left: var(--floating-logo-width);
}
// This ensures the tab bar does not collide with the right sidebar triggers.
#app.platform-darwin.rightsidebar-collapsed .screen-tabs-container {
#main.platform-darwin.rightsidebar-collapsed .screen-tabs-container {
margin-right: var(--floating-right-sidebar-triggers-width-darwin);
}
#app:not(.platform-darwin).rightsidebar-collapsed .screen-tabs-container {
#main:not(.platform-darwin).rightsidebar-collapsed .screen-tabs-container {
margin-left: var(--floating-right-sidebar-triggers-width);
}