260825_03_ENH: sub item 버튼 위치 및 범례 위치 변경
This commit is contained in:
@@ -190,7 +190,7 @@ function ResultGroupChart({ group }: { group: ResultGroup }) {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
})}
|
})}
|
||||||
legend={{ left: 0, top: 0, textStyle: { fontSize: CHART_FONT_SIZE } }}
|
legend={{ right: 0, top: 0, textStyle: { fontSize: CHART_FONT_SIZE } }}
|
||||||
grid={{ top: 55, right: 25, bottom: 5, left: 0, containLabel: true }}
|
grid={{ top: 55, right: 25, bottom: 5, left: 0, containLabel: true }}
|
||||||
xAxis={{
|
xAxis={{
|
||||||
axisLabel: {
|
axisLabel: {
|
||||||
@@ -277,12 +277,11 @@ function ItemCard({ item }: { item: Item }) {
|
|||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{activeComment &&
|
||||||
|
<p className="mt-2 text-xs text-muted-foreground">{activeComment}</p>
|
||||||
|
}
|
||||||
{hasSubItems || activeComment ? (
|
{hasSubItems || activeComment ? (
|
||||||
<div className="mt-4 flex flex-wrap items-center gap-3">
|
<div className="mt-4 flex flex-wrap items-center gap-3">
|
||||||
<div className="min-w-0 flex-1">
|
|
||||||
{activeComment ? <p className="text-xs text-muted-foreground">{activeComment}</p> : null}
|
|
||||||
</div>
|
|
||||||
{hasSubItems ? (
|
{hasSubItems ? (
|
||||||
<div className="inline-flex shrink-0 rounded-md border p-1">
|
<div className="inline-flex shrink-0 rounded-md border p-1">
|
||||||
{item.resultGroups.map((group, index) => {
|
{item.resultGroups.map((group, index) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user