1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 21:06:42 +07:00

showing users fullname

This commit is contained in:
Fedor Katurov 2019-11-11 18:10:30 +07:00
parent 298ba7d586
commit 54687b131c
5 changed files with 5 additions and 3 deletions

View file

@ -6,7 +6,7 @@ type IProps = AllHTMLAttributes<HTMLDivElement> & { is_blurred: boolean };
export const BlurWrapper: FC<IProps> = ({ children, is_blurred }) => (
<div
className={styles.blur}
style={{ filter: `blur(${is_blurred ? 15 : 0}px) saturate(${is_blurred ? 1.5 : 1})` }}
style={{ filter: `blur(${is_blurred ? 15 : 0}px) saturate(${is_blurred ? 3 : 1})` }}
>
{children}
</div>