1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-28 14:16:41 +07:00

fixed flow search for mobile

This commit is contained in:
Fedor Katurov 2021-06-25 14:15:01 +07:00
parent 22fd3a3118
commit 45949d49a8
8 changed files with 54 additions and 11 deletions

View file

@ -8,6 +8,7 @@ import { FlowSearchResults } from '../FlowSearchResults';
import { Icon } from '~/components/input/Icon';
import { Group } from '~/components/containers/Group';
import { Toggle } from '~/components/input/Toggle';
import classNames from 'classnames';
interface IProps {
recent: IFlowState['recent'];
@ -80,7 +81,7 @@ const FlowStamp: FC<IProps> = ({
</>
) : (
<>
<div className={styles.label}>
<div className={classNames(styles.label, styles.whatsnew)}>
<span className={styles.label_text}>Что нового?</span>
<span className="line" />
</div>

View file

@ -117,3 +117,9 @@
display: none;
}
}
.whatsnew {
@media (max-width: $flow_hide_recents) {
display: none;
}
}