diff --git a/src/locales/en/main.json b/src/locales/en/main.json index dd58ab27ef..f0beaf4485 100644 --- a/src/locales/en/main.json +++ b/src/locales/en/main.json @@ -2152,6 +2152,10 @@ "media": { "threeDModelPlaceholder": "3D Model", "audioPlaceholder": "Audio" + }, + "deletion": { + "header": "Delete this model?", + "body": "This model will be permanently removed from your library." } }, "mediaAsset": { diff --git a/src/platform/assets/components/AssetCard.vue b/src/platform/assets/components/AssetCard.vue index e0fc4b99b7..64ab6d5cd3 100644 --- a/src/platform/assets/components/AssetCard.vue +++ b/src/platform/assets/components/AssetCard.vue @@ -4,7 +4,7 @@ :data-asset-id="asset.id" :aria-labelledby="titleId" :aria-describedby="descId" - tabindex="1" + tabindex="0" :class=" cn( 'rounded-2xl overflow-hidden transition-all duration-200 bg-modal-card-background p-2 gap-2 flex flex-col h-full', @@ -19,14 +19,14 @@ v-if="isLoading || error" class="flex size-full cursor-pointer items-center justify-center bg-gradient-to-br from-smoke-400 via-smoke-800 to-charcoal-400" role="button" - @click="interactive && $emit('select', asset)" + @click.self="interactive && $emit('select', asset)" /> @@ -118,6 +118,7 @@