Rename shrinkButton to toggleButton.
This commit is contained in:
1 parent
170705440a
commit
4efd3fcbad
2 files changed
+3
-3
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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'}
|
||||
|
||||
Reference in new issue
Block a user