Fix linter errors [SCI-5099]

This commit is contained in:
Martin Artnik 2021-07-09 09:40:06 +02:00
parent fb040bee07
commit fe06effbd7
2 changed files with 25 additions and 23 deletions

View file

@ -36,7 +36,7 @@
maxTags: modal.data('max-tags') maxTags: modal.data('max-tags')
}); });
emailTagsInput.on('change', function(e) { emailTagsInput.on('change', function() {
if (emailTagsInput.val()) { if (emailTagsInput.val()) {
inviteBtn.removeAttr('disabled'); inviteBtn.removeAttr('disabled');
} else { } else {

View file

@ -1317,6 +1317,8 @@ body > .loading-overlay {
} }
.modal-invite-users { .modal-invite-users {
overflow: hidden;
.bootstrap-tagsinput { .bootstrap-tagsinput {
min-width: 450px; min-width: 450px;
width: 100%; width: 100%;
@ -1324,24 +1326,24 @@ body > .loading-overlay {
.tag { .tag {
color: $color-black; color: $color-black;
font-weight: normal;
font-size: 12px; font-size: 12px;
font-weight: normal;
line-height: 13px; line-height: 13px;
padding: 5px 8px; padding: 5px 8px;
} }
[data-role="remove"] { [data-role="remove"] {
margin-left: 4px; margin-left: 4px;
}
&::after { [data-role="remove"]::after {
content: "\f00d"; content: "\f00d";
font-family: "Font Awesome 5 Free"; display: inline-block;
padding: 0px 2px; font-family: "Font Awesome 5 Free";
font-weight: 900; font-size: 12px;
display: inline-block; font-weight: 900;
font-size: 12px; opacity: .7;
opacity: .7; padding: 0 2px;
}
} }
} }
@ -1380,16 +1382,16 @@ body > .loading-overlay {
} }
.select-container--with-blank { .select-container--with-blank {
input.search-field::placeholder { overflow: hidden;
.search-field::placeholder {
color: $color-black; color: $color-black;
opacity: 1; opacity: 1;
} }
input.search-field:focus::placeholder { .search-field:focus::placeholder {
opacity: 0; opacity: 0;
} }
overflow: hidden;
} }
} }
@ -1537,6 +1539,7 @@ a.disabled-with-click-events {
position: relative; position: relative;
select { select {
appearance: none;
border: 1px solid $color-silver-chalice; border: 1px solid $color-silver-chalice;
border-radius: 4px; border-radius: 4px;
color: $color-emperor; color: $color-emperor;
@ -1546,22 +1549,21 @@ a.disabled-with-click-events {
outline: 0; outline: 0;
padding: 8px 42px 3px 3px; padding: 8px 42px 3px 3px;
width: 100%; width: 100%;
appearance: none;
} }
&:after { &::after {
color: $color-silver-chalice;
content: "\f0d7";
font-family: "Font Awesome 5 Free"; font-family: "Font Awesome 5 Free";
font-weight: 900; font-weight: 900;
content: "\f0d7"; height: 100%;
color: $color-silver-chalice;
padding: 12px 8px; padding: 12px 8px;
pointer-events: none;
position: absolute; position: absolute;
right: -6px; right: -6px;
top: -6px;
z-index: 1;
text-align: center; text-align: center;
top: -6px;
width: 10%; width: 10%;
height: 100%; z-index: 1;
pointer-events: none;
} }
} }