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:
parent
8ef10d5273
commit
5e9b37c105
2 changed files with 12 additions and 3 deletions
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue