Skip to content

Commit 87e68d5

Browse files
committed
Fix copy to clipboard button text color in light theme
1 parent 882c54b commit 87e68d5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/styles/themes/light.css

+4-2
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,16 @@ body.light button.button > * {
7272
font-weight: bold;
7373
}
7474

75-
body.light button.button.share-button > * {
75+
body.light button.button.share-button > *,
76+
body.light button.button.clipboard-button > * {
7677
color: #fff;
7778
}
7879

7980
/* NTS: Hover color still appears and won't go away after tapping elsewhere on iOS.
8081
Workaround for now to disable hover color on iOS - https://stackoverflow.com/a/40617793 */
8182
@media (hover) {
82-
body.light button.button.share-button:hover > * {
83+
body.light button.button.share-button:hover > *,
84+
body.light button.button.clipboard-button:hover > * {
8385
color: #000;
8486
}
8587
}

0 commit comments

Comments
 (0)