Skip to content

Commit 8ee5f67

Browse files
Avoid white-on-white Tab Labels
I'm using `react-tabs` alongside a CSS framework that sets the global text color to white. This PR fixes that by explicitly setting the color to black.
1 parent 1ad1031 commit 8ee5f67

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/helpers/styles.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ module.exports = {
1919
'.react-tabs [role=tab][aria-selected=true]': {
2020
'background': '#fff',
2121
'border-color': '#aaa',
22+
'color': 'black',
2223
'border-radius': '5px 5px 0 0',
2324
'-moz-border-radius': '5px 5px 0 0',
2425
'-webkit-border-radius': '5px 5px 0 0'

0 commit comments

Comments
 (0)