1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-05-05 17:46:41 +07:00

added error display

This commit is contained in:
Fedor Katurov 2020-10-23 17:50:19 +07:00
parent b4d55a49ba
commit 7d09eb26f5
7 changed files with 45 additions and 4 deletions

View file

@ -9,7 +9,7 @@
.input {
@include outer_shadow();
position: relative;
flex: 1;
padding: ($gap / 2) ($gap / 2 + 1px);
}
@ -36,3 +36,17 @@
.attaches {
@include outer_shadow();
}
.error {
position: absolute;
bottom: 0;
left: 50%;
background: $red;
z-index: 10;
font: $font_12_regular;
box-sizing: border-box;
padding: 0 $gap;
border-radius: 4px 4px 0 0;
transform: translate(-50%, 0);
cursor: pointer;
}