mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-08 14:38:47 +00:00
mini-non-chart charts
This commit is contained in:
parent
c2058f353d
commit
17b0f635d8
12 changed files with 437 additions and 245 deletions
|
@ -1,9 +1,10 @@
|
|||
export default function Container({ children, className = "" }) {
|
||||
export default function Container({ children, chart = true, className = "" }) {
|
||||
return (
|
||||
<div>
|
||||
{children}
|
||||
<div className={`absolute top-0 right-0 bottom-0 left-0 overflow-clip pointer-events-none ${className}`} />
|
||||
<div className="h-[68px] overflow-clip" />
|
||||
{ chart && <div className="h-[68px] overflow-clip" /> }
|
||||
{ !chart && <div className="h-[16px] overflow-clip" /> }
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue