Skip to content

Commit d13caf4

Browse files
author
Clara Zhang
committed
update button styles: disabled buttons appear grey
1 parent 4560a7d commit d13caf4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

website/src/components/posts/Facebook/conclusion/ConclusionGraphic.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ export default function ConclusionGraphic() {
1818
<button
1919
disabled={currentCard === 0}
2020
className={`card-button ${currentCard === 0 ? "gray" : ""}`}
21-
let
22-
color="#808080"
2321
aria-label="Previous Solution"
2422
onClick={previousCard}
2523
>

website/src/components/posts/Facebook/conclusion/conclusion.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,7 @@
7676
.fade-exit-active {
7777
transition: opacity 500ms;
7878
}
79+
80+
.gray {
81+
background-color: gray;
82+
}

0 commit comments

Comments
 (0)