buttons im frontend kleiner gemacht. AI status badge nur sichtbar, wenn das feature aktiviert ist.

This commit is contained in:
2025-12-07 21:36:10 +01:00
parent 8e8d934b4b
commit bc353fa2c2
2 changed files with 35 additions and 32 deletions

View File

@@ -45,6 +45,7 @@
<div v-if="!showStyleSelectorView" class="space-y-3">
<button
v-if="props.allowAiStyles"
type="button"
class="flex w-full items-center justify-between gap-3 rounded-2xl border px-4 py-3 text-left font-semibold text-slate-900 transition focus:outline-none focus-visible:ring-2 dark:text-white"
:class="[effectiveAiAvailable ? 'border-white/20 bg-white/40 hover:border-emerald-400 hover:bg-white/70 dark:border-white/10 dark:bg-white/5' : 'border-rose-200 bg-rose-50 cursor-not-allowed opacity-70']"