fix(panel): refine context risk warning layout and prevent settings header status overlap

- Collapse locked context controls out of flow so the initial risk notice fits cleanly without extra vertical void or blur bleed, and soften the Modern UI notice and danger-confirm button surfaces
- Lock settings panel header titles to flex: 0 0 auto and single-line truncate long status feedback (such as exported JSON paths) with hover tooltips
This commit is contained in:
fish
2026-11-24 01:52:35 +09:00
parent b57c5d5987
commit f7ed2e0aa8
6 changed files with 108 additions and 34 deletions
+9 -5
View File
@@ -27820,8 +27820,7 @@ const SettingsOtherTab = defineComponent({
text: '',
});
const maintStatusText = h('span', {
className: 'text-muted',
style: 'font-size: var(--fs-md);',
className: 'text-muted settings-panel-status',
text: '',
});
@@ -27859,10 +27858,12 @@ const SettingsOtherTab = defineComponent({
maintTimer = null;
}
patchText(maintStatusText, text);
patchAttr(maintStatusText, 'title', text || null);
if (text && autoClearMs > 0) {
maintTimer = setTimeout(() => {
maintTimer = null;
patchText(maintStatusText, '');
patchAttr(maintStatusText, 'title', null);
}, autoClearMs);
}
}
@@ -28041,7 +28042,10 @@ const SettingsOtherTab = defineComponent({
const ctxModelLabel = h('span', { className: 'form-label' });
const ctxWindowLabel = h('span', { className: 'form-label' });
const ctxHint = h('span', { className: 'settings-hint-text' });
const ctxStatus = h('span', { className: 'text-muted', role: 'status' });
const ctxStatus = h('span', {
className: 'text-muted settings-panel-status',
role: 'status',
});
const ctxModelSelect = CustomSelect({
className: 'settings-context-model',
searchable: true,
@@ -28331,7 +28335,7 @@ const SettingsOtherTab = defineComponent({
}
const baselinePanel = h('section', { className: 'panel' }, [
h('div', { className: 'panel-header' }, [
h('div', { className: 'panel-header settings-panel-header' }, [
h('span', { className: 'panel-title' }, [
createSvgIcon('layers', { size: 13 }),
baselineTitleEl,
@@ -28548,7 +28552,7 @@ const SettingsOtherTab = defineComponent({
]);
const maintPanel = h('section', { className: 'panel' }, [
h('div', { className: 'panel-header' }, [
h('div', { className: 'panel-header settings-panel-header' }, [
h('span', { className: 'panel-title' }, [
createSvgIcon('refresh', { size: 13 }),
maintTitleEl,