mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-25 23:17:22 +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
@ -1,8 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="flex flex-col flex-justify-between">
|
||||||
<router-link :to="props.item.url">
|
<router-link :to="props.item.url">
|
||||||
<div class="relative">
|
<div class="flex justify-center h-[10rem] mb-4">
|
||||||
<img class="w-full aspect-square" :src="props.item.thumbnail" loading="lazy" />
|
<img class="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" />
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="flex flex-col flex-justify-between">
|
||||||
<router-link :to="props.item.url">
|
<router-link :to="props.item.url">
|
||||||
<div class="relative">
|
<div class="relative">
|
||||||
<img class="w-full" :src="props.item.thumbnail" loading="lazy" />
|
<img class="w-full" :src="props.item.thumbnail" loading="lazy" />
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-if="showVideo">
|
<div class="flex flex-col flex-justify-between" v-if="showVideo">
|
||||||
<router-link
|
<router-link
|
||||||
class="focus:underline hover:underline inline-block w-full"
|
class="focus:underline hover:underline inline-block w-full"
|
||||||
:to="{
|
:to="{
|
||||||
|
Loading…
Reference in New Issue
Block a user