레이아웃 컴포넌트 단순화
This commit is contained in:
@@ -169,7 +169,7 @@ export const CardLayoutLayout: React.FC<CardLayoutProps> = ({
|
||||
className="hover:border-blue-500 hover:shadow-md"
|
||||
>
|
||||
{/* 존 라벨 */}
|
||||
<div className="absolute left-2 top-2 z-10">
|
||||
<div className="absolute top-2 left-2 z-10">
|
||||
<div className="rounded bg-blue-500 px-2 py-1 text-xs text-white">{zone.name}</div>
|
||||
</div>
|
||||
|
||||
@@ -247,7 +247,7 @@ export const CardLayoutLayout: React.FC<CardLayoutProps> = ({
|
||||
|
||||
return (
|
||||
<div key={idx} className="flex justify-between text-xs">
|
||||
<span className="capitalize text-gray-500">{getColumnLabel(columnName)}:</span>
|
||||
<span className="text-gray-500 capitalize">{getColumnLabel(columnName)}:</span>
|
||||
<span className="font-medium text-gray-700">{value}</span>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user