update styles
This commit is contained in:
@@ -44,7 +44,7 @@ export const PieChartComponent = ({ data, show }: {
|
|||||||
</Pie>
|
</Pie>
|
||||||
</PieChart>
|
</PieChart>
|
||||||
</ResponsiveContainer>
|
</ResponsiveContainer>
|
||||||
<div className="flex gap-6">
|
<div className="flex gap-6 mt-4">
|
||||||
{data.map((entry, index) => (
|
{data.map((entry, index) => (
|
||||||
<div key={`cell-${index}`} className="">
|
<div key={`cell-${index}`} className="">
|
||||||
<span className="w-2 h-2 rounded-full font-bold inline-block mr-1.5" style={{ backgroundColor: entry.color }}></span>
|
<span className="w-2 h-2 rounded-full font-bold inline-block mr-1.5" style={{ backgroundColor: entry.color }}></span>
|
||||||
|
|||||||
@@ -57,7 +57,7 @@
|
|||||||
|
|
||||||
&.opened {
|
&.opened {
|
||||||
grid-template-areas: "aaa ccc ccc" "bbb ccc ccc";
|
grid-template-areas: "aaa ccc ccc" "bbb ccc ccc";
|
||||||
height: 254px;
|
height: 270px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -195,6 +195,7 @@
|
|||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
padding-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-switch {
|
&-switch {
|
||||||
@@ -244,6 +245,7 @@
|
|||||||
justify-content: start;
|
justify-content: start;
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
border-left: 1px solid v.$b-color-1;;
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
@@ -262,6 +264,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.last-column {
|
||||||
|
border-right: 1px solid v.$b-color-1;;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.last-row {
|
||||||
|
border-bottom: 1px solid v.$b-color-1;;
|
||||||
|
}
|
||||||
|
|
||||||
&.second-row {
|
&.second-row {
|
||||||
border-top: none;
|
border-top: none;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user