summaryrefslogtreecommitdiff
path: root/components/ModelBoxCard.vue
diff options
context:
space:
mode:
Diffstat (limited to 'components/ModelBoxCard.vue')
-rw-r--r--components/ModelBoxCard.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/ModelBoxCard.vue b/components/ModelBoxCard.vue
index 110c234..bdd8a8f 100644
--- a/components/ModelBoxCard.vue
+++ b/components/ModelBoxCard.vue
@@ -1,6 +1,6 @@
<template lang="pug">
.model.shadow-sm.rounded-lg.bg-white.p-4.w-full.h-80.duration-300(
- class="hover:ease-out hover:shadow-md"
+ class="hover:ease-out hover:shadow-md dark:bg-gray-600 dark:text-white"
)
a(:href="'/models/'+model.id")
.image.bg-gray-900.rounded-xl.w-full.h-48.overflow-hidden
@@ -17,7 +17,7 @@
.mr-3.float-left
user-avatar(:data="model.author")
p.leading-8
- a.text-green-800(class="hover:text-green-700" :href="'/user/'+model.author_id")
+ a.text-green-800(class="hover:text-green-700 dark:text-green-300 dark:hover:text-green-200" :href="'/user/'+model.author_id")
| @
span.underline {{ model.author.username }}