diff --git a/frontend/src/v2/components/Player/AssetPreview.vue b/frontend/src/v2/components/Player/AssetPreview.vue index 0d70330d6..619b5dbd9 100644 --- a/frontend/src/v2/components/Player/AssetPreview.vue +++ b/frontend/src/v2/components/Player/AssetPreview.vue @@ -120,7 +120,6 @@ const emptyText = computed(() => @@ -474,6 +473,12 @@ const emptyText = computed(() => overflow: hidden; text-overflow: ellipsis; } +/* A state's name has the stage's full width under it, so it wraps instead. */ +.r-asset-preview:not(.r-asset-preview--save) .r-asset-preview__name { + white-space: normal; + overflow: visible; + overflow-wrap: anywhere; +} .r-asset-preview__chips { display: flex; @@ -495,12 +500,9 @@ const emptyText = computed(() => .r-asset-preview__stage-fav { position: absolute; top: 12px; - right: 12px; + left: 12px; filter: drop-shadow(0 1px 4px color-mix(in srgb, black 75%, transparent)); } -.r-asset-preview__stage-fav--clearable { - right: 46px; -} /* The size is the least telling fact here, so it sits a step below the labels and the slot rather than above them. */ diff --git a/frontend/src/v2/components/shared/AssetList.vue b/frontend/src/v2/components/shared/AssetList.vue index 4a37ae815..1d02ad6a0 100644 --- a/frontend/src/v2/components/shared/AssetList.vue +++ b/frontend/src/v2/components/shared/AssetList.vue @@ -287,18 +287,7 @@ const fadeIndex = computed(() => :align="xs ? 'start' : 'end'" /> - - + @@ -413,7 +402,7 @@ const fadeIndex = computed(() => background: var(--r-color-bg-elevated); width: 100%; display: grid; - grid-template-columns: auto minmax(0, 1fr) auto auto; + grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; @@ -441,6 +430,7 @@ const fadeIndex = computed(() => /* Manage mode: rows are static info containers, not selectable buttons. No pointer cursor, no hover-lift — only the action buttons react. */ .r-asset-list__row--static { + grid-template-columns: auto minmax(0, 1fr) auto auto; cursor: default; } .r-asset-list__row--static:hover { @@ -510,17 +500,6 @@ const fadeIndex = computed(() => display: contents; } -.r-asset-list__check { - display: grid; - place-items: center; - width: 22px; - height: 22px; - color: var(--r-color-fg-faint); -} -.r-asset-list__item--active .r-asset-list__check { - color: var(--r-color-brand-primary); -} - /* Manage mode: trailing action buttons (download / delete / toggle). */ .r-asset-list__actions { display: inline-flex; @@ -573,7 +552,6 @@ html[data-bp~="xs"] .r-asset-list__name { html[data-bp~="xs"] .r-asset-list__time { grid-area: time; } -html[data-bp~="xs"] .r-asset-list__check, html[data-bp~="xs"] .r-asset-list__actions { grid-area: actions; } diff --git a/frontend/src/v2/components/shared/AssetStrip.vue b/frontend/src/v2/components/shared/AssetStrip.vue index ec707d345..31ca6b2c6 100644 --- a/frontend/src/v2/components/shared/AssetStrip.vue +++ b/frontend/src/v2/components/shared/AssetStrip.vue @@ -191,20 +191,7 @@ const fadeIndex = computed(() => :aria-disabled="reasonOf(asset) ? true : undefined" @click="selectable && !reasonOf(asset) && $emit('select', asset)" > - - -
+
size="28" />
- @@ -421,12 +397,6 @@ const fadeIndex = computed(() => .r-asset-strip--list .r-asset-strip__tile--active:hover { background: color-mix(in srgb, var(--r-color-brand-primary) 14%, transparent); } -.r-asset-strip--list .r-asset-strip__mark { - flex: 0 0 14px; - display: grid; - place-items: center; - color: var(--r-color-brand-primary); -} .r-asset-strip--list .r-asset-strip__meta { flex: 1; min-width: 0; @@ -548,25 +518,6 @@ const fadeIndex = computed(() => right: 6px; filter: drop-shadow(0 1px 3px color-mix(in srgb, black 75%, transparent)); } -/* Steps aside when the selection check owns the corner. */ -.r-asset-strip__fav--checked { - right: 30px; -} - -.r-asset-strip__check { - position: absolute; - top: 4px; - right: 4px; - width: 22px; - height: 22px; - display: grid; - place-items: center; - background: var(--r-color-brand-primary); - color: white; - border-radius: 50%; - box-shadow: 0 2px 6px color-mix(in srgb, black 35%, transparent); -} - .r-asset-strip__body { display: flex; flex-direction: column;