1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 12:26:40 +07:00

hide fluid toggle on mobile

This commit is contained in:
Fedor Katurov 2021-06-23 16:39:43 +07:00
parent 8ef10d5273
commit 5e9b37c105
2 changed files with 12 additions and 3 deletions

View file

@ -93,7 +93,7 @@ const FlowStamp: FC<IProps> = ({
</div>
<div className={styles.toggles}>
<Group horizontal onClick={toggleLayout}>
<Group horizontal onClick={toggleLayout} className={styles.fluid_toggle}>
<Toggle value={isFluid} />
<div className={styles.toggles__label}>Жидкое течение</div>
</Group>

View file

@ -101,10 +101,19 @@
}
.toggles {
padding: $gap;
font: $font_14_semibold;
& > div {
padding: $gap;
font: $font_14_semibold;
}
&__label {
cursor: pointer;
}
}
.fluid_toggle {
@include desktop {
display: none;
}
}