mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-15 17:30:13 +08:00
chore(dashboard): 将剩余 :deep() 迁移到 ::v-deep()
This commit is contained in:
@@ -484,11 +484,11 @@ onBeforeUnmount(() => {
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.provider-config-dialog :deep(.v-card-title) {
|
||||
.provider-config-dialog ::v-deep(.v-card-title) {
|
||||
padding: 12px 16px !important;
|
||||
}
|
||||
|
||||
.provider-config-dialog :deep(.v-card-title .text-h2) {
|
||||
.provider-config-dialog ::v-deep(.v-card-title .text-h2) {
|
||||
font-size: 1.5rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -202,7 +202,7 @@ onMounted(async () => {
|
||||
animation: fadeIn 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
:deep(.code-highlighted pre) {
|
||||
::v-deep(.code-highlighted pre) {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
|
||||
@@ -185,7 +185,7 @@ const statusItems = [
|
||||
flex: none;
|
||||
}
|
||||
|
||||
.system-plugin-checkbox :deep(.v-selection-control) {
|
||||
.system-plugin-checkbox ::v-deep(.v-selection-control) {
|
||||
min-height: auto;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -220,7 +220,7 @@ const isInternal = (tool: ToolItem) => tool.source === 'internal';
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.tool-table :deep(.v-data-table__td) {
|
||||
.tool-table ::v-deep(.v-data-table__td) {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
|
||||
@@ -765,7 +765,7 @@ export default defineComponent({
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.breadcrumb-bar :deep(.v-breadcrumbs) {
|
||||
.breadcrumb-bar ::v-deep(.v-breadcrumbs) {
|
||||
flex-wrap: nowrap;
|
||||
min-width: max-content;
|
||||
}
|
||||
|
||||
@@ -391,7 +391,7 @@ function getSpecialSubtype(value) {
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
:deep(.v-field__input) {
|
||||
::v-deep(.v-field__input) {
|
||||
font-size: 14px;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user