diff --git a/components/WatchTime.vue b/components/WatchTime.vue index f78638e..3cf09a4 100644 --- a/components/WatchTime.vue +++ b/components/WatchTime.vue @@ -46,7 +46,7 @@ const handleScroll = () => { >
{ :key="user.displayName" class="bg-button snap-start scroll-my-10 items-center justify-between pr-10 rounded-full p-2 flex" > - -

+ +

{{ user.displayName }}

-

{{ user.time }}

+

+ {{ user.time }} +

diff --git a/uno.config.ts b/uno.config.ts index 7a0e6f3..bb842c7 100644 --- a/uno.config.ts +++ b/uno.config.ts @@ -11,15 +11,6 @@ import { } from "unocss"; export default defineConfig({ - rules: [ - [ - /^nth-(.+):(.*)$/, - async ([, d, r], { rawSelector, constructCSS, generator }) => { - const rule = await generator.parseToken(r); - return `${e(rawSelector)} > *:nth-child(${d}) { ${rule?.[0][2]} }`; - }, - ], - ], presets: [ presetUno({}), presetAttributify(),