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 (#2672)
* Apply rounded border to channels in search results * use built-in utility class * Contain channel thumbnail size * contain results in flexbox and implement custom Uno classes * correct linter errors * remove custom rule
This commit is contained in:
parent
6119fa676b
commit
a2f76dcd8e
3 changed files with 5 additions and 5 deletions
|
@ -1,8 +1,8 @@
|
|||
<template>
|
||||
<div>
|
||||
<div class="flex flex-col flex-justify-between">
|
||||
<router-link :to="props.item.url">
|
||||
<div class="relative">
|
||||
<img class="w-full aspect-square" :src="props.item.thumbnail" loading="lazy" />
|
||||
<div class="flex justify-center h-[10rem] mb-4">
|
||||
<img class="aspect-square rounded-full" :src="props.item.thumbnail" loading="lazy" />
|
||||
</div>
|
||||
<p>
|
||||
<span v-text="props.item.name" />
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div>
|
||||
<div class="flex flex-col flex-justify-between">
|
||||
<router-link :to="props.item.url">
|
||||
<div class="relative">
|
||||
<img class="w-full" :src="props.item.thumbnail" loading="lazy" />
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div v-if="showVideo">
|
||||
<div class="flex flex-col flex-justify-between" v-if="showVideo">
|
||||
<router-link
|
||||
class="focus:underline hover:underline inline-block w-full"
|
||||
:to="{
|
||||
|
|
Loading…
Reference in a new issue