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; min-height: 36px;
.authors-list { .authors-list {
position: relative; font-weight: bold;
max-width: calc(100% - 90px);
line-height: 32px; line-height: 32px;
margin-left: 8px; 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; cursor: url("/images/icon_small/edit.svg") 0 16, auto;
} }
.inline-edit-placeholder:empty:before { .inline-edit-placeholder:empty::before {
content: attr(placeholder); content: attr(placeholder);
display: block; display: block;
} }

View file

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

View file

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