Skip to content

Commit

Permalink
fix(style): Correctly fix flash on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
danez committed Aug 30, 2018
1 parent 9680d06 commit 25cfa16
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 4 additions & 1 deletion style/react-tabs.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.react-tabs {
-webkit-tap-highlight-color: transparent;
}

.react-tabs__tab-list {
border-bottom: 1px solid #aaa;
margin: 0 0 10px;
Expand All @@ -13,7 +17,6 @@
list-style: none;
padding: 6px 12px;
cursor: pointer;
-webkit-tap-highlight-color: transparent;
}

.react-tabs__tab--selected {
Expand Down
3 changes: 2 additions & 1 deletion style/react-tabs.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
.react-tabs {
-webkit-tap-highlight-color: transparent;

&__tab-list {
border-bottom: 1px solid #aaa;
margin: 0 0 10px;
Expand All @@ -14,7 +16,6 @@
list-style: none;
padding: 6px 12px;
cursor: pointer;
-webkit-tap-highlight-color: transparent;

&--selected {
background: #fff;
Expand Down
3 changes: 2 additions & 1 deletion style/react-tabs.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
.react-tabs {
-webkit-tap-highlight-color: transparent;

&__tab-list {
border-bottom: 1px solid #aaa;
margin: 0 0 10px;
Expand All @@ -14,7 +16,6 @@
list-style: none;
padding: 6px 12px;
cursor: pointer;
-webkit-tap-highlight-color: transparent;

&--selected {
background: #fff;
Expand Down

0 comments on commit 25cfa16

Please sign in to comment.