테이블 헤더 최소 너비 설정 추가: SplitPanelLayoutComponent에서 각 테이블 헤더의 최소 너비를 80px로 설정하여 레이아웃의 일관성을 높였습니다. 이를 통해 다양한 화면 크기에서도 가독성을 유지할 수 있도록 개선하였습니다.
This commit is contained in:
parent
b6ed76f243
commit
0ee36d9b35
|
|
@ -2239,6 +2239,7 @@ export const SplitPanelLayoutComponent: React.FC<SplitPanelLayoutComponentProps>
|
|||
className="px-3 py-2 text-left text-xs font-medium tracking-wider text-gray-500 uppercase"
|
||||
style={{
|
||||
width: col.width ? `${col.width}px` : "auto",
|
||||
minWidth: "80px",
|
||||
textAlign: col.align || "left",
|
||||
}}
|
||||
>
|
||||
|
|
|
|||
|
|
@ -2175,9 +2175,10 @@ export const SplitPanelLayoutComponent: React.FC<SplitPanelLayoutComponentProps>
|
|||
{columnsToShow.map((col, idx) => (
|
||||
<th
|
||||
key={idx}
|
||||
className="px-3 py-2 text-left text-xs font-medium tracking-wider text-gray-500 uppercase"
|
||||
className="px-3 py-2 text-left text-xs font-medium tracking-wider text-gray-500 uppercase whitespace-nowrap"
|
||||
style={{
|
||||
width: col.width ? `${col.width}px` : "auto",
|
||||
minWidth: "80px",
|
||||
textAlign: col.align || "left",
|
||||
}}
|
||||
>
|
||||
|
|
@ -2236,9 +2237,10 @@ export const SplitPanelLayoutComponent: React.FC<SplitPanelLayoutComponentProps>
|
|||
{columnsToShow.map((col, idx) => (
|
||||
<th
|
||||
key={idx}
|
||||
className="px-3 py-2 text-left text-xs font-medium tracking-wider text-gray-500 uppercase"
|
||||
className="px-3 py-2 text-left text-xs font-medium tracking-wider text-gray-500 uppercase whitespace-nowrap"
|
||||
style={{
|
||||
width: col.width ? `${col.width}px` : "auto",
|
||||
minWidth: "80px",
|
||||
textAlign: col.align || "left",
|
||||
}}
|
||||
>
|
||||
|
|
@ -2669,9 +2671,10 @@ export const SplitPanelLayoutComponent: React.FC<SplitPanelLayoutComponentProps>
|
|||
{columnsToShow.map((col, idx) => (
|
||||
<th
|
||||
key={idx}
|
||||
className="px-3 py-2 text-left text-xs font-medium tracking-wider text-gray-500 uppercase"
|
||||
className="px-3 py-2 text-left text-xs font-medium tracking-wider text-gray-500 uppercase whitespace-nowrap"
|
||||
style={{
|
||||
width: col.width ? `${col.width}px` : "auto",
|
||||
minWidth: "80px",
|
||||
textAlign: col.align || "left",
|
||||
}}
|
||||
>
|
||||
|
|
|
|||
Loading…
Reference in New Issue