mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
use built-in utility class
This commit is contained in:
parent
2f90e0bff7
commit
3b040e387a
1 changed files with 1 additions and 7 deletions
|
@ -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>
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue