mirror of
https://github.com/dataease/dataease.git
synced 2025-02-25 12:03:05 +08:00
style: 仪表板选项卡头部右侧样式优化
This commit is contained in:
parent
ce152ac0e6
commit
c3c0681293
@ -6,7 +6,7 @@
|
|||||||
type="card"
|
type="card"
|
||||||
style-type="radioGroup"
|
style-type="radioGroup"
|
||||||
class="de-tabs-height"
|
class="de-tabs-height"
|
||||||
:class="isEdit ? 'de-tabs-edit' : ''"
|
:class="isCurrentEdit ? 'de-tabs-edit' : ''"
|
||||||
:font-color="fontColor"
|
:font-color="fontColor"
|
||||||
:active-color="activeColor"
|
:active-color="activeColor"
|
||||||
:border-color="borderColor"
|
:border-color="borderColor"
|
||||||
@ -249,6 +249,9 @@ export default {
|
|||||||
},
|
},
|
||||||
titleValid() {
|
titleValid() {
|
||||||
return !!this.textarea && !!this.textarea.trim()
|
return !!this.textarea && !!this.textarea.trim()
|
||||||
|
},
|
||||||
|
isCurrentEdit() {
|
||||||
|
return this.isEdit && this.curComponent && this.curComponent.id === this.element.id
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
@ -143,7 +143,7 @@ div:focus {
|
|||||||
height: 100vh !important;
|
height: 100vh !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.de-tabs-edit {
|
.de-tabs-edit>.el-tabs__header{
|
||||||
padding-right: 50px !important;
|
padding-right: 50px !important;
|
||||||
}
|
}
|
||||||
.de-tabs {
|
.de-tabs {
|
||||||
|
Loading…
Reference in New Issue
Block a user