forked from Github/frigate
refactor(web): update shadows for material specs
This commit is contained in:
committed by
Blake Blackshear
parent
0cac2fec2a
commit
15ae3bee55
@@ -17,7 +17,9 @@ export default function Box({
|
||||
const Element = href ? 'a' : 'div';
|
||||
|
||||
return (
|
||||
<div className={`bg-white dark:bg-gray-800 shadow-md hover:shadow-xl rounded-lg overflow-hidden ${className}`}>
|
||||
<div
|
||||
className={`bg-white dark:bg-gray-800 shadow-md hover:shadow-lg transition-shadow rounded-lg overflow-hidden ${className}`}
|
||||
>
|
||||
<Element href={href} {...props}>
|
||||
{media}
|
||||
<div class="p-4 pb-2">{header ? <Heading size="base">{header}</Heading> : null}</div>
|
||||
|
||||
Reference in New Issue
Block a user