fix(components/tiles): no background size in Tile
This commit is contained in:
parent
144b43edd4
commit
6adbeec8d5
1 changed files with 4 additions and 4 deletions
|
|
@ -43,10 +43,10 @@ Metro-like tile. Must be in a group to display correctly.
|
||||||
const style = cva(["bg-(--tile-color)", "overflow-y-hidden"], {
|
const style = cva(["bg-(--tile-color)", "overflow-y-hidden"], {
|
||||||
variants: {
|
variants: {
|
||||||
size: {
|
size: {
|
||||||
small: "bg-size-[45px]",
|
small: ["row-span-1", "col-span-1"],
|
||||||
medium: ["col-span-2", "row-span-2", "bg-size-[90px]"],
|
medium: ["row-span-2", "col-span-2"],
|
||||||
wide: ["col-span-4", "row-span-2", "bg-size-[90px]"],
|
wide: ["row-span-4", "col-span-2"],
|
||||||
large: ["col-span-4", "row-span-4", "bg-size-[180px]"],
|
large: ["row-span-4", "col-span-4"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue