[WEB-1718] style: fix spreadsheet column width. (#4943)

This commit is contained in:
Prateek Shourya
2024-06-26 18:00:21 +05:30
committed by GitHub
parent 9e97aa20c2
commit 141f7409ef
3 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ export const SpreadsheetStateColumn: React.FC<Props> = observer((props) => {
const { issue, onChange, disabled, onClose } = props;
return (
<div className="h-11 max-w-48 border-b-[0.5px] border-custom-border-200">
<div className="h-11 border-b-[0.5px] border-custom-border-200">
<StateDropdown
projectId={issue.project_id ?? undefined}
value={issue.state_id}

View File

@@ -38,7 +38,7 @@ export const IssueColumn = observer((props: Props) => {
>
<td
tabIndex={0}
className="h-11 w-full min-w-[8rem] text-sm after:absolute after:w-full after:bottom-[-1px] after:border after:border-custom-border-100 border-r-[1px] border-custom-border-100"
className="h-11 w-full min-w-36 max-w-48 text-sm after:absolute after:w-full after:bottom-[-1px] after:border after:border-custom-border-100 border-r-[1px] border-custom-border-100"
ref={tableCellRef}
>
<Column

View File

@@ -28,7 +28,7 @@ export const SpreadsheetHeaderColumn = observer((props: Props) => {
shouldRenderProperty={() => shouldRenderProperty}
>
<th
className="h-11 w-full min-w-[8rem] items-center bg-custom-background-90 text-sm font-medium px-4 py-1 border border-b-0 border-t-0 border-custom-border-100"
className="h-11 w-full min-w-36 max-w-48 items-center bg-custom-background-90 text-sm font-medium px-4 py-1 border border-b-0 border-t-0 border-custom-border-100"
ref={tableHeaderCellRef}
tabIndex={0}
>