Skip to content

Commit

Permalink
fix(FEC-9351): cast button is not visible (#411)
Browse files Browse the repository at this point in the history
`--` directive in Sass doesn't evaluate the variable unless it is explicitly set with hash
  • Loading branch information
OrenMe committed Sep 22, 2019
1 parent 0bf9a2e commit 708a9f2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/components/cast/_cast.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import '~styles/variables';

.player {
.cast-button {
display: block;
Expand All @@ -7,11 +9,11 @@
border: none;
cursor: pointer;
--connected-color: rgba(1, 172, 205, 0.8);
--disconnected-color: $grayscale4;
--disconnected-color: #{$grayscale4};
}

.cast-button:hover {
--disconnected-color: $white;
--connected-color: $brand-color;
--disconnected-color: #{$white};
--connected-color: #{$brand-color};
}
}

0 comments on commit 708a9f2

Please sign in to comment.