mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-08 07:21:03 +08:00
Applying hound suggestions [SCI-9016]
This commit is contained in:
parent
86e2cfe747
commit
a6abfc7e31
4 changed files with 6 additions and 7 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
* {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -221,7 +221,6 @@
|
|||
border-radius: 4px;
|
||||
display: flex;
|
||||
min-height: 40px;
|
||||
// overflow: hidden;
|
||||
position: relative;
|
||||
|
||||
&.editing-name {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue