Applying hound suggestions [SCI-9016]

This commit is contained in:
Ivan Kljun 2023-09-05 13:39:21 +02:00
parent 86e2cfe747
commit a6abfc7e31
4 changed files with 6 additions and 7 deletions

View file

@ -129,11 +129,11 @@
min-height: 36px;
.authors-list {
position: relative;
max-width: calc(100% - 90px);
font-weight: bold;
line-height: 32px;
margin-left: 8px;
font-weight: bold;
max-width: calc(100% - 90px);
position: relative;
}
* {

View file

@ -5,7 +5,7 @@
cursor: url("/images/icon_small/edit.svg") 0 16, auto;
}
.inline-edit-placeholder:empty:before {
.inline-edit-placeholder:empty::before {
content: attr(placeholder);
display: block;
}

View file

@ -221,7 +221,6 @@
border-radius: 4px;
display: flex;
min-height: 40px;
// overflow: hidden;
position: relative;
&.editing-name {

View file

@ -91,10 +91,10 @@
},
computed: {
isBlank() {
return this.newValue.length === 0
return this.newValue.length === 0;
},
isContentDefault() {
return this.$refs ? this.$refs.input.innerText === this.defaultValue : false;
return this.newValue === this.defaultValue;
},
error() {
if(!this.allowBlank && this.isBlank) {