Skip to content

Commit

Permalink
use 2x
Browse files Browse the repository at this point in the history
  • Loading branch information
arily committed Jun 29, 2023
1 parent 8c0421b commit 90d195c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/pages/beatmapset/[id].vue
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,7 @@ onBeforeMount(() => {
<div class="flex flex-col md:flex-row">
<div class="w-full md:w-1/3 grow">
<div class="flex flex-col p-4 md:p-3 h-full">
<picture>
<source v-if="beatmapset.assets['list@2x']" :srcset="`${beatmapset.assets.list} 1x, ${beatmapset.assets['list@2x']} 2x`">
<img class="rounded-xl shadow-md max-w-content" :src="beatmapset.assets.list" :alt="selectedMap.version" :onerror="placeholder">
</picture>
<img class="rounded-xl shadow-md max-w-content" :src="beatmapset.assets['list@2x']" :alt="selectedMap.version" :onerror="placeholder">
<div v-if="links" class="pt-2">
<div class="w-min">
<t-menu>
Expand Down

0 comments on commit 90d195c

Please sign in to comment.