mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
remove custom rule
This commit is contained in:
parent
68b5dd7885
commit
4ea5cb5964
2 changed files with 1 additions and 10 deletions
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="flex flex-col flex-justify-between">
|
<div class="flex flex-col flex-justify-between">
|
||||||
<router-link :to="props.item.url">
|
<router-link :to="props.item.url">
|
||||||
<div class="flex justify-center h-10-rem mb-4">
|
<div class="flex justify-center h-[10rem] mb-4">
|
||||||
<img class="aspect-square rounded-full" :src="props.item.thumbnail" loading="lazy" />
|
<img class="aspect-square rounded-full" :src="props.item.thumbnail" loading="lazy" />
|
||||||
</div>
|
</div>
|
||||||
<p>
|
<p>
|
||||||
|
|
|
@ -8,15 +8,6 @@ import presetWebFonts from "@unocss/preset-web-fonts";
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
transformers: [transformerDirective(), transformerVariantGroup()],
|
transformers: [transformerDirective(), transformerVariantGroup()],
|
||||||
rules: [
|
|
||||||
[
|
|
||||||
/^h-([\d]+)-rem$/,
|
|
||||||
([_, num]) => {
|
|
||||||
_; // fixes linting error
|
|
||||||
return { height: `${num}rem` };
|
|
||||||
},
|
|
||||||
],
|
|
||||||
],
|
|
||||||
presets: [
|
presets: [
|
||||||
presetUno({
|
presetUno({
|
||||||
dark: "media",
|
dark: "media",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue