Skip to content

A self-hosted media server and file management system

fix: settings card does not gracefully accept styling

aminnausin79be2634846e
diff --git a/resources/js/components/cards/layout/SettingsCard.vue b/resources/js/components/cards/layout/SettingsCard.vue
index 722b5ea9..974c48cb 100644
--- a/resources/js/components/cards/layout/SettingsCard.vue
+++ b/resources/js/components/cards/layout/SettingsCard.vue
@@ -1,5 +1,8 @@
+<script setup lang="ts">
+import { cn } from '@aminnausin/cedar-ui';
+</script>
<template>
- <section class="dark:bg-primary-dark-800/70 flex flex-wrap gap-3 rounded-xl bg-white p-3 shadow-md ring-1 ring-gray-900/5 sm:flex-nowrap sm:p-6">
+ <section :class="cn('dark:bg-primary-dark-800/70 flex flex-wrap gap-3 rounded-xl bg-white p-3 shadow-md ring-1 ring-gray-900/5 sm:flex-nowrap sm:p-6', $attrs.class)">
<slot name="heading"></slot>
<slot name="content"></slot>