Skip to content

Commit

Permalink
Fix different behavior for left/right tabs on hover, fixes #271
Browse files Browse the repository at this point in the history
  • Loading branch information
dpizetta committed Mar 30, 2021
1 parent a59164b commit 8228fec
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions qdarkstyle/qss/_styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1773,7 +1773,9 @@ QTabBar, QDockWidget QTabBar {
&:!selected:hover {
border: $BORDER_SELECTION_3;
border-right: 3px solid $COLOR_ACCENT_3;
padding: 0px;
/* Fixes different behavior #271 */
margin-right: 0px;
padding-right: -1px;
}
}

Expand All @@ -1799,7 +1801,9 @@ QTabBar, QDockWidget QTabBar {
&:!selected:hover {
border: $BORDER_SELECTION_3;
border-left: 3px solid $COLOR_ACCENT_3;
padding: 0px;
/* Fixes different behavior #271 */
margin-left: 0px;
padding-left: 0px;
}
}
}
Expand Down

0 comments on commit 8228fec

Please # to comment.