mirror of
https://github.com/zen-browser/www.git
synced 2025-07-10 10:15:31 +02:00
fix(components): improve layout and spacing in Button, Community, Features, and HomeExtras components for better responsiveness
This commit is contained in:
parent
b2fa0fcc40
commit
cc3b3d42b7
4 changed files with 35 additions and 33 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue