diff --git a/frontend/src/v2/components/shared/AssetList.vue b/frontend/src/v2/components/shared/AssetList.vue index ffa8069cd..a325e0ad5 100644 --- a/frontend/src/v2/components/shared/AssetList.vue +++ b/frontend/src/v2/components/shared/AssetList.vue @@ -229,7 +229,7 @@ const fadeIndex = computed(() => opacity: 0.85; } +/* Phones: the timestamp and the actions or check drop to a row of their own + under the text, so the name gets the full width and wraps. */ html[data-bp~="xs"] .r-asset-list__row { padding: 8px 10px; -} -/* Manage mode on phones: the timestamp and actions drop to a row of their - own under the text, so the name gets the full width and wraps. */ -html[data-bp~="xs"] .r-asset-list__row--static { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "icon main main" ". time actions"; gap: 4px 10px; } -html[data-bp~="xs"] .r-asset-list__row--static .r-asset-list__icon { +html[data-bp~="xs"] .r-asset-list__icon { grid-area: icon; align-self: start; } -html[data-bp~="xs"] .r-asset-list__row--static .r-asset-list__main { +html[data-bp~="xs"] .r-asset-list__main { grid-area: main; } -html[data-bp~="xs"] .r-asset-list__row--static .r-asset-list__name { +html[data-bp~="xs"] .r-asset-list__name { white-space: normal; overflow-wrap: anywhere; } -html[data-bp~="xs"] .r-asset-list__row--static .r-asset-list__time { +html[data-bp~="xs"] .r-asset-list__time { grid-area: time; } -html[data-bp~="xs"] .r-asset-list__row--static .r-asset-list__actions { +html[data-bp~="xs"] .r-asset-list__check, +html[data-bp~="xs"] .r-asset-list__actions { grid-area: actions; +} +html[data-bp~="xs"] .r-asset-list__actions { margin-block: -4px; } diff --git a/frontend/src/v2/views/Jukebox/BrowseMode.vue b/frontend/src/v2/views/Jukebox/BrowseMode.vue index 1ace8c0e4..70b9df2bc 100644 --- a/frontend/src/v2/views/Jukebox/BrowseMode.vue +++ b/frontend/src/v2/views/Jukebox/BrowseMode.vue @@ -266,8 +266,4 @@ html[data-bp~="xs"] .jukebox__entries :deep(.r-list-item__body), html[data-bp~="xs"] .jukebox__entries :deep(.r-list-item__append) { display: none; } - -html[data-bp~="xs"] .jukebox__player :deep(.r-v2-stp__row-duration) { - display: none; -}