-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Use Chip instead of Button for TagBubble
Also refactor tag change handler and wrap it with useCallback
- Loading branch information
1 parent
f40f1ea
commit 55d5385
Showing
4 changed files
with
31 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
.tag-bubble.btn-outline-dark { | ||
.tag-bubble.pgn__chip { | ||
border-color: $light-300; | ||
border-style: solid; | ||
border-width: 2px; | ||
background-color: transparent; | ||
|
||
&:hover { | ||
color: $white; | ||
.pgn__chip__icon-before * { | ||
color: $white; | ||
fill: $white; | ||
} | ||
.pgn__chip__label { | ||
color: $white; | ||
} | ||
background-color: $dark; | ||
border-color: $dark; | ||
} | ||
} | ||
|
||
.implicit > .implicit-tag-icon { | ||
color: $dark; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters