mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Apply rounded border to channels in search results
This commit is contained in:
parent
6e0804b66c
commit
2f90e0bff7
1 changed files with 7 additions and 1 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" :src="props.item.thumbnail" loading="lazy" />
|
<img class="w-full aspect-square channel-container" :src="props.item.thumbnail" loading="lazy" />
|
||||||
</div>
|
</div>
|
||||||
<p>
|
<p>
|
||||||
<span v-text="props.item.name" />
|
<span v-text="props.item.name" />
|
||||||
|
@ -32,3 +32,9 @@ 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