mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-08-21 15:12:34 +02:00
fix: position of cards and reports
This commit is contained in:
@@ -146,25 +146,11 @@ const GetDashboard = (props) => {
|
||||
<div className="grid grid-cols-12 w-full gap-x-4">
|
||||
{props?.dashboard?.columns?.map((col, i) =>
|
||||
col.widget.data && col.widget.data.tourSection ? (
|
||||
<div
|
||||
key={i}
|
||||
className={`${
|
||||
props?.classnameArray?.[i]
|
||||
? props?.classnameArray[i]
|
||||
: "col-span-12"
|
||||
}`}
|
||||
>
|
||||
<div key={i} className={`${col.colxs} ${col.colmd} ${col.collg} `}>
|
||||
{renderSwitchWithTour(col)}
|
||||
</div>
|
||||
) : (
|
||||
<div
|
||||
key={i}
|
||||
className={`${
|
||||
props?.classnameArray?.[i]
|
||||
? props?.classnameArray[i]
|
||||
: "col-span-12"
|
||||
}`}
|
||||
>
|
||||
<div key={i} className={`${col.colxs} ${col.colmd} ${col.collg} `}>
|
||||
{renderSwitch(col)}
|
||||
</div>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user