fix: polish workspace files and editor shell

This commit is contained in:
2026-06-19 23:37:10 +08:00
parent a6412fa070
commit 5c979174f1
23 changed files with 497 additions and 249 deletions
@@ -166,7 +166,7 @@
{@const isDangerous = dangerousPermissions.includes(perm)}
<span class="tag" class:dangerous={isDangerous}>
{perm}
{#if isDangerous}<Icon name="warning" size={12} className="danger-icon" />{/if}
{#if isDangerous}<Icon name="warning" size={12} class="danger-icon" />{/if}
</span>
{/each}
</div>
@@ -362,7 +362,7 @@
}
.check { color: #4ecca3; margin-left: 2px; }
.danger-icon { color: #e94560; margin-left: 2px; vertical-align: middle; }
:global(.danger-icon) { color: #e94560; margin-left: 2px; vertical-align: middle; }
.info {
color: #ffc857;