forked from github/plane
chore: spreadsheet layout column responsiveness (#2768)
This commit is contained in:
parent
4c09e46de7
commit
4fcc66fd54
@ -78,7 +78,7 @@ export const IssueColumn: React.FC<Props> = ({
|
|||||||
<div className="group flex items-center w-[28rem] text-sm h-11 sticky top-0 bg-custom-background-100 truncate border-b border-custom-border-100">
|
<div className="group flex items-center w-[28rem] text-sm h-11 sticky top-0 bg-custom-background-100 truncate border-b border-custom-border-100">
|
||||||
{properties.key && (
|
{properties.key && (
|
||||||
<div
|
<div
|
||||||
className="flex gap-1.5 px-4 pr-0 py-2.5 items-center min-w-[96px]"
|
className="flex gap-1.5 px-4 pr-0 py-2.5 items-center min-w-min"
|
||||||
style={issue.parent && nestingLevel !== 0 ? { paddingLeft } : {}}
|
style={issue.parent && nestingLevel !== 0 ? { paddingLeft } : {}}
|
||||||
>
|
>
|
||||||
<div className="relative flex items-center cursor-pointer text-xs text-center hover:text-custom-text-100">
|
<div className="relative flex items-center cursor-pointer text-xs text-center hover:text-custom-text-100">
|
||||||
|
@ -94,7 +94,7 @@ export const SpreadsheetView: React.FC<Props> = observer((props) => {
|
|||||||
{displayProperties.key && (
|
{displayProperties.key && (
|
||||||
<span className="flex items-center px-4 py-2.5 h-full w-24 flex-shrink-0">ID</span>
|
<span className="flex items-center px-4 py-2.5 h-full w-24 flex-shrink-0">ID</span>
|
||||||
)}
|
)}
|
||||||
<span className="flex items-center px-4 py-2.5 h-full w-full flex-grow">Issue</span>
|
<span className="flex items-center justify-center px-4 py-2.5 h-full w-full flex-grow">Issue</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{issues.map((issue, index) => (
|
{issues.map((issue, index) => (
|
||||||
|
Loading…
Reference in New Issue
Block a user