fix(components): improve layout and spacing in Button, Community, Features, and HomeExtras components for better responsiveness

This commit is contained in:
mr. M 2025-01-19 23:54:05 +01:00
parent b2fa0fcc40
commit cc3b3d42b7
No known key found for this signature in database
GPG key ID: CBD57A2AEDBDA1FB
4 changed files with 35 additions and 33 deletions

View file

@ -17,10 +17,10 @@ const {
{...extra}
href={href}
class:list={[
'flex items-center justify-center gap-2 rounded-full px-6 py-2 transition-bg transition-transform duration-200',
'transition-bg flex items-center justify-center gap-2 rounded-full px-6 py-2 transition-transform duration-200',
className,
isPrimary
? 'bg-dark text-paper border-2 border-dark hover:bg-paper hover:text-dark'
? 'border-2 border-dark bg-dark text-paper hover:bg-paper hover:text-dark'
: isAlert
? 'bg-red-300 text-dark'
: !isBordered