fix(web): open artifacts outside the installed app context

This commit is contained in:
2026-10-20 20:03:41 +01:00
parent 5014c9e61f
commit 06dddb002a
13 changed files with 388 additions and 92 deletions
+17 -6
View File
@@ -43,7 +43,8 @@ textarea {
color: inherit;
}
button {
button,
.browser-button {
min-height: var(--density-control-height);
padding: 0 var(--space-control-pad-inline);
border-radius: var(--radius-control);
@@ -54,8 +55,9 @@ button {
transition: background var(--motion-fast) var(--ease-standard),
border-color var(--motion-fast) var(--ease-standard);
}
button:hover { background: var(--color-elevated); }
button:active { background: var(--color-elevated-2); }
button:hover, .browser-button:hover { background: var(--color-elevated); }
button:active, .browser-button:active { background: var(--color-elevated-2); }
.browser-button { display: inline-flex; align-items: center; justify-content: center; font: inherit; text-decoration: none; }
button.ghost { background: transparent; border-color: transparent; color: var(--color-muted); }
button.ghost:hover { background: var(--tint-hover); color: var(--color-text); }
button:disabled { opacity: var(--opacity-disabled); cursor: not-allowed; }
@@ -84,7 +86,7 @@ a { color: var(--color-accent); }
button, [role="tab"] { -webkit-user-select: none; user-select: none; touch-action: manipulation; }
@media (any-pointer: coarse) {
button, input, select { min-height: 48px; }
button, input, select, .browser-button { min-height: 48px; }
button { -webkit-tap-highlight-color: transparent; }
button:active { background-color: var(--color-elevated-2); }
}
@@ -243,7 +245,7 @@ button, [role="tab"] { -webkit-user-select: none; user-select: none; touch-actio
gap: 10px;
align-items: center;
width: 100%;
padding: 7px 78px 7px 8px;
padding: 7px 100px 7px 8px;
border: 0;
background: transparent;
color: inherit;
@@ -288,7 +290,16 @@ button, [role="tab"] { -webkit-user-select: none; user-select: none; touch-actio
.viewer-placeholder .artifact-play { font-size: 40px; }
.viewer-nav { display: flex; gap: var(--space-xs); justify-content: center; }
.viewer-page:disabled { opacity: 0.4; cursor: not-allowed; }
.viewer-actions { display: flex; gap: var(--space-xs); justify-content: flex-end; }
.viewer-actions { display: flex; flex-wrap: wrap; min-width: 0; gap: var(--space-xs); justify-content: flex-end; }
.viewer-action { white-space: nowrap; }
@media (any-pointer: coarse) {
.artifact-tile-wrap { flex-direction: column; }
.artifact-actions { position: static; align-self: stretch; justify-content: flex-end; flex-wrap: wrap; padding: 4px 4px 6px; opacity: 1; pointer-events: auto; }
.artifact-action { width: 44px; min-height: 44px; }
.artifact-list-row .artifact-actions { transform: none; }
.artifact-list-open { padding-right: 8px; }
}
.chip {
display: inline-block;