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:
Jack Linhart 2023-07-16 15:27:31 -05:00 committed by GitHub
parent 6119fa676b
commit a2f76dcd8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -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" />

View File

@ -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" />

View File

@ -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="{