use built-in utility class

This commit is contained in:
iatenine 2023-07-16 11:00:15 -05:00
parent 2f90e0bff7
commit 3b040e387a

View file

@ -2,7 +2,7 @@
<div> <div>
<router-link :to="props.item.url"> <router-link :to="props.item.url">
<div class="relative"> <div class="relative">
<img class="w-full aspect-square channel-container" :src="props.item.thumbnail" loading="lazy" /> <img class="w-full aspect-square rounded-full" :src="props.item.thumbnail" loading="lazy" />
</div> </div>
<p> <p>
<span v-text="props.item.name" /> <span v-text="props.item.name" />
@ -32,9 +32,3 @@ const props = defineProps({
item: Object, item: Object,
}); });
</script> </script>
<style>
.channel-container {
border-radius: 100%;
}
</style>