Skip to content

Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.

style: remove redundant `cursor-pointer` class and add it to app config

Timothy Yinb9c4cb73397a
diff --git a/app/app.config.ts b/app/app.config.ts
index a9847c6e..344b8541 100644
--- a/app/app.config.ts
+++ b/app/app.config.ts
@@ -9,6 +9,11 @@ export default defineAppConfig({
warning: 'amber',
danger: 'rose',
},
+ button: {
+ slots: {
+ base: 'cursor-pointer'
+ }
+ },
popover: {
slots: {
content:
diff --git a/app/components/photo/ShareModal.vue b/app/components/photo/ShareModal.vue
index 993d30ad..ba844ab9 100644
--- a/app/components/photo/ShareModal.vue
+++ b/app/components/photo/ShareModal.vue
@@ -363,7 +363,6 @@ defineShortcuts({
</h3>
</div>
<UButton
- class="cursor-pointer"
size="sm"
variant="ghost"
color="neutral"
@@ -383,7 +382,6 @@ defineShortcuts({
class="mb-4"
>
<UButton
- class="cursor-pointer"
block
size="lg"
color="info"
@@ -412,7 +410,6 @@ defineShortcuts({
class="flex-1 truncate bg-transparent text-sm text-neutral-800 dark:text-neutral-200 resize-none"
/>
<UButton
- class="cursor-pointer"
size="xs"
variant="ghost"
color="neutral"
@@ -433,7 +430,6 @@ defineShortcuts({
{{ $t('ui.action.share.ogImage.title') }}
</label>
<UButton
- class="cursor-pointer"
size="xs"
variant="ghost"
color="neutral"