Rename bookshop hero label and clamp description on mobile.
Deploy Ladill QR Plus / deploy (push) Successful in 1m15s
Deploy Ladill QR Plus / deploy (push) Successful in 1m15s
Show "Bookshop" instead of "Author bookshop", and ellipsis-truncate the tagline and bio to a single line on small screens.
This commit is contained in:
@@ -1221,9 +1221,11 @@
|
|||||||
<div class="absolute inset-0" style="background: linear-gradient(145deg, {{ $aColor }}, {{ $aColor }}99);"></div>
|
<div class="absolute inset-0" style="background: linear-gradient(145deg, {{ $aColor }}, {{ $aColor }}99);"></div>
|
||||||
@endif
|
@endif
|
||||||
<div class="absolute inset-x-0 bottom-0 px-5 pb-5 text-white">
|
<div class="absolute inset-x-0 bottom-0 px-5 pb-5 text-white">
|
||||||
<p class="text-xs font-semibold uppercase tracking-[0.2em] text-white/80">Author bookshop</p>
|
<p class="text-xs font-semibold uppercase tracking-[0.2em] text-white/80">Bookshop</p>
|
||||||
<h1 class="mt-1 text-2xl font-bold">{{ $aName }}</h1>
|
<h1 class="mt-1 text-2xl font-bold">{{ $aName }}</h1>
|
||||||
@if($aTagline)<p class="mt-1 text-sm text-white/90">{{ $aTagline }}</p>@endif
|
@if($aTagline)
|
||||||
|
<p class="mt-1 truncate text-sm text-white/90 sm:whitespace-normal sm:overflow-visible">{{ $aTagline }}</p>
|
||||||
|
@endif
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -1239,7 +1241,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="min-w-0 flex-1">
|
<div class="min-w-0 flex-1">
|
||||||
@if(!empty($content['bio']))
|
@if(!empty($content['bio']))
|
||||||
<p class="text-sm leading-relaxed text-slate-600">{{ $content['bio'] }}</p>
|
<p class="truncate text-sm leading-relaxed text-slate-600 sm:whitespace-normal sm:overflow-visible">{{ $content['bio'] }}</p>
|
||||||
@endif
|
@endif
|
||||||
<div class="mt-3 flex flex-wrap gap-2">
|
<div class="mt-3 flex flex-wrap gap-2">
|
||||||
@if(!empty($content['website']))
|
@if(!empty($content['website']))
|
||||||
|
|||||||
Reference in New Issue
Block a user