Responsive-Härtung: Seiten-Header, Kontextleiste, Stat-Cards
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
bda755fcf8
commit
036a53499f
55 changed files with 128 additions and 57 deletions
|
|
@ -21,8 +21,10 @@
|
|||
<article {{ $attributes->class(['stat-card', "is-{$variant}"]) }}>
|
||||
<span class="stat-strip"></span>
|
||||
|
||||
<div class="flex items-baseline justify-between gap-3">
|
||||
<div class="stat-label">{{ $label }}</div>
|
||||
{{-- flex-wrap: auf schmalen Karten rutscht das Meta unter das Label,
|
||||
statt mit ihm zu kollidieren --}}
|
||||
<div class="flex flex-wrap items-baseline justify-between gap-x-3 gap-y-0.5">
|
||||
<div class="stat-label min-w-0">{{ $label }}</div>
|
||||
|
||||
@isset($meta)
|
||||
<span class="stat-meta">{{ $meta }}</span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue