Rename shrinkButton to toggleButton.

This commit is contained in:
Evelyn Eastmond committed 2019-05-07 11:42:40 -04:00
1 parent 170705440a
commit 4efd3fcbad
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -117,7 +117,7 @@
flex-direction: row;
}
.shrink-button {
.toggle-button {
cursor: pointer;
color: white;
display: flex;
@@ -127,7 +127,7 @@
padding: 0.75rem;
}
.shrink-button:hover, .all-button:hover {
.toggle-button:hover, .all-button:hover {
background-color: $ui-black-transparent;
}
+1 -1
View File
@@ -43,7 +43,7 @@ const CardHeader = ({onCloseCards, onToggleCards, onShowAll, totalSteps, step, t
) : null}
<div className={styles.headerButtonsRight}>
<div
className={styles.shrinkButton}
className={styles.toggleButton}
onClick={onToggleCards}
>
{toggle ? 'Shrink' : 'Expand'}