Fix workbench dark theme and enlarge dialogs

This commit is contained in:
Miayui
2026-09-18 09:11:59 +08:00
parent c812a1a595
commit e920a92505
18 changed files with 328 additions and 49 deletions
+7 -7
View File
@@ -1493,7 +1493,7 @@ button.v2-extension-capability.preview {
/* Dialogs ---------------------------------------------------------------- */
.v2-extension-dialog {
width: min(650px, calc(100vw - 40px));
width: min(780px, calc(100vw - 32px));
max-height: calc(100dvh - 40px);
margin: auto;
padding: 0;
@@ -2307,7 +2307,7 @@ form > .v2-extension-primary {
/* GSCU1B TCP runtime controls ------------------------------------------- */
.v2-gscu-tcp-dialog {
width: min(720px, calc(100vw - 30px));
width: min(960px, calc(100vw - 30px));
}
.v2-gscu-status {
@@ -2934,9 +2934,9 @@ form > .v2-extension-primary {
}
.v2-nfc-dialog {
width: min(900px, calc(100vw - 28px));
max-width: 900px;
max-height: min(860px, calc(100dvh - 28px));
width: min(1180px, calc(100vw - 28px));
max-width: 1180px;
max-height: min(900px, calc(100dvh - 28px));
padding: 0;
overflow: auto;
color: #203d3d;
@@ -4596,8 +4596,8 @@ form > .v2-extension-primary {
}
.v2-pet-settings-dialog {
width: min(760px, calc(100vw - 32px));
height: min(760px, calc(100dvh - 32px));
width: min(980px, calc(100vw - 32px));
height: min(860px, calc(100dvh - 32px));
max-height: calc(100dvh - 32px);
overflow: hidden;
}