mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-01 16:55:21 +03:00
added less padding for small devices on buttons
This commit is contained in:
parent
62bc3dd67e
commit
c52423206b
@ -66,7 +66,7 @@ export default function Button({
|
|||||||
|
|
||||||
let classes = `whitespace-nowrap flex items-center space-x-1 ${className} ${ButtonTypes[type]} ${
|
let classes = `whitespace-nowrap flex items-center space-x-1 ${className} ${ButtonTypes[type]} ${
|
||||||
ButtonColors[disabled ? 'disabled' : color][type]
|
ButtonColors[disabled ? 'disabled' : color][type]
|
||||||
} font-sans inline-flex font-bold uppercase text-xs px-1.5 md:px-2 py-2 rounded outline-none focus:outline-none ring-opacity-50 transition-shadow transition-colors ${
|
} font-sans inline-flex font-bold uppercase text-xs px-1.5 md:px-2 sm:py-0 md:py-2 rounded outline-none focus:outline-none ring-opacity-50 transition-shadow transition-colors ${
|
||||||
disabled ? 'cursor-not-allowed' : 'focus:ring-2 cursor-pointer'
|
disabled ? 'cursor-not-allowed' : 'focus:ring-2 cursor-pointer'
|
||||||
}`;
|
}`;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user