diff --git a/frontend/src/components/SandboxSkillsPanel.test.mjs b/frontend/src/components/SandboxSkillsPanel.test.mjs index 5aee9b10..6be978bd 100644 --- a/frontend/src/components/SandboxSkillsPanel.test.mjs +++ b/frontend/src/components/SandboxSkillsPanel.test.mjs @@ -20,6 +20,8 @@ test('focused skill management expands env vars and transcript without a mid-pag assert.match(source, /SETTING_DRAWER_HEADER_ACTIONS_ID/) assert.match(source, /skill\.status === 'installing'/) assert.match(manageBlock, /skill-manage__section--remove/) + assert.match(manageBlock, /theme="circle"/) + assert.doesNotMatch(manageBlock, /stroke-width="6"/) assert.match(manageBlock, /t-popconfirm/) assert.doesNotMatch(manageBlock, /askRemove/) assert.doesNotMatch(manageBlock, /skill-manage__section--danger/) diff --git a/frontend/src/components/SandboxSkillsPanel.vue b/frontend/src/components/SandboxSkillsPanel.vue index b233c0f6..4e0dd0f4 100644 --- a/frontend/src/components/SandboxSkillsPanel.vue +++ b/frontend/src/components/SandboxSkillsPanel.vue @@ -106,9 +106,17 @@

{{ $t('settings.sandbox.skillRemoveInProgress') }}

- {{ progressOf(managedSkill) }}% +
+ + {{ progressOf(managedSkill) }}% +
-

{{ progressStageText(managedSkill) }}

@@ -1682,12 +1690,6 @@ onUnmounted(() => { } } -.skill-manage__progress-label { - font-size: 12px; - font-weight: 600; - color: var(--td-brand-color); -} - .skill-manage__remove-stage { margin: 0; font-size: 13px; diff --git a/frontend/src/components/settings/SettingDrawer.test.mjs b/frontend/src/components/settings/SettingDrawer.test.mjs index a316c855..0e37085c 100644 --- a/frontend/src/components/settings/SettingDrawer.test.mjs +++ b/frontend/src/components/settings/SettingDrawer.test.mjs @@ -12,3 +12,9 @@ test('the title row hosts compact header actions without replacing the step rail assert.match(source, /setting-drawer__header-actions/) assert.match(source, /&:empty/) }) + +test('drawer width never exceeds the viewport', () => { + assert.match(source, /viewportWidth/) + assert.match(source, /window.innerWidth/) + assert.match(source, /max-width: 100vw/) +}) diff --git a/frontend/src/components/settings/SettingDrawer.vue b/frontend/src/components/settings/SettingDrawer.vue index d54d36c5..1ee3bf76 100644 --- a/frontend/src/components/settings/SettingDrawer.vue +++ b/frontend/src/components/settings/SettingDrawer.vue @@ -7,7 +7,7 @@
-