1
0
spogulis no https://github.com/karl0ss/homepage.git synced 2025-11-24 12:04:29 +00:00

Fix: metric heights in 0.10.x (#4467)

Šī revīzija ir iekļauta:
shamoon 2024-12-20 19:50:11 -08:00
vecāks ac39ffdc2f
revīzija f64aa50cc0

Parādīt failu

@ -18,10 +18,10 @@ export default function Container({ children, widget, error = null, chart = true
} }
return ( return (
<div className={classNames("service-container relative", chart ? "h-[120px]" : "")}> <div className={classNames("service-container", chart ? "chart relative h-[120px]" : "")}>
{children} {children}
<div className={`absolute top-0 right-0 bottom-0 left-0 overflow-clip pointer-events-none ${className}`} /> <div className={`absolute top-0 right-0 bottom-0 left-0 overflow-clip pointer-events-none ${className}`} />
{chart && <div className="chart h-[68px] overflow-clip" />} {chart && <div className="h-[68px] overflow-clip" />}
{!chart && <div className="h-[16px] overflow-clip" />} {!chart && <div className="h-[16px] overflow-clip" />}
</div> </div>
); );