refactor: 隔离 Websites.vue 全局样式,仅对 Element Plus 壳层节点应用非 scoped 样式以防污染其他页面
This commit is contained in:
@@ -1334,7 +1334,7 @@ function confirmGroupSelection() {
|
||||
|
||||
function adjustPercent(amount: number) {
|
||||
let val = Number(bindingForm.value.percent) || 0
|
||||
val = Math.max(0, val + amount)
|
||||
val = Math.max(0, Math.min(100, val + amount))
|
||||
bindingForm.value.percent = Number(val.toFixed(2))
|
||||
}
|
||||
|
||||
@@ -1965,7 +1965,9 @@ onMounted(loadAll)
|
||||
.btn-save:hover {
|
||||
background: #cb8440 !important;
|
||||
}
|
||||
</style>
|
||||
|
||||
<style>
|
||||
/* Custom Theme Dialog & Drawer */
|
||||
.custom-binding-drawer .el-drawer__body,
|
||||
.custom-binding-drawer .el-drawer__header,
|
||||
@@ -2050,7 +2052,9 @@ onMounted(loadAll)
|
||||
.custom-theme-select .el-select__placeholder {
|
||||
color: #f5ecea !important;
|
||||
}
|
||||
</style>
|
||||
|
||||
<style scoped>
|
||||
/* Layout for selectors dialog */
|
||||
.group-selector-layout {
|
||||
display: grid;
|
||||
|
||||
Reference in New Issue
Block a user