Skip to content

Commit

Permalink
Make selectors for history buttons more specific, so that they don't …
Browse files Browse the repository at this point in the history
…match additional buttons
  • Loading branch information
yanus committed Apr 30, 2024
1 parent 1062e07 commit 60c6ed0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/user.css
Original file line number Diff line number Diff line change
Expand Up @@ -368,15 +368,15 @@ h3,
align-items: center;
}

.main-topBar-historyButtons button:nth-child(1) {
.main-topBar-historyButtons > button:nth-child(1) {
-webkit-mask-image: url('https://nimsandu.github.io/spicetify-bloom/assets/fluentui-system-icons/ic_fluent_arrow_left_24_filled.svg');
background-color: var(--spice-text) !important;
padding: 5px;
width: 24px !important;
height: 24px !important;
}

.main-topBar-historyButtons button:nth-child(2) {
.main-topBar-historyButtons > button:nth-child(2) {
display: inline-flex !important;
mask-image: url('https://nimsandu.github.io/spicetify-bloom/assets/fluentui-system-icons/ic_fluent_arrow_right_24_filled.svg');
-webkit-mask-image: url('https://nimsandu.github.io/spicetify-bloom/assets/fluentui-system-icons/ic_fluent_arrow_right_24_filled.svg');
Expand Down

0 comments on commit 60c6ed0

Please sign in to comment.