forked from github/plane
fix: cycle select dropdown issue layout overflow fix (#3789)
This commit is contained in:
parent
812df59d1d
commit
395098417c
@ -204,7 +204,7 @@ export const CycleDropdown: React.FC<Props> = observer((props) => {
|
|||||||
>
|
>
|
||||||
{!hideIcon && <ContrastIcon className="h-3 w-3 flex-shrink-0" />}
|
{!hideIcon && <ContrastIcon className="h-3 w-3 flex-shrink-0" />}
|
||||||
{BUTTON_VARIANTS_WITH_TEXT.includes(buttonVariant) && (
|
{BUTTON_VARIANTS_WITH_TEXT.includes(buttonVariant) && (
|
||||||
<span className="flex-grow truncate">{selectedCycle?.name ?? placeholder}</span>
|
<span className="flex-grow truncate max-w-40">{selectedCycle?.name ?? placeholder}</span>
|
||||||
)}
|
)}
|
||||||
{dropdownArrow && (
|
{dropdownArrow && (
|
||||||
<ChevronDown className={cn("h-2.5 w-2.5 flex-shrink-0", dropdownArrowClassName)} aria-hidden="true" />
|
<ChevronDown className={cn("h-2.5 w-2.5 flex-shrink-0", dropdownArrowClassName)} aria-hidden="true" />
|
||||||
|
@ -346,7 +346,7 @@ export const IssueProperties: React.FC<IIssueProperties> = observer((props) => {
|
|||||||
{/* cycles */}
|
{/* cycles */}
|
||||||
{cycleId === undefined && (
|
{cycleId === undefined && (
|
||||||
<WithDisplayPropertiesHOC displayProperties={displayProperties} displayPropertyKey="cycle">
|
<WithDisplayPropertiesHOC displayProperties={displayProperties} displayPropertyKey="cycle">
|
||||||
<div className="h-5">
|
<div className="h-5 truncate">
|
||||||
<CycleDropdown
|
<CycleDropdown
|
||||||
projectId={issue?.project_id}
|
projectId={issue?.project_id}
|
||||||
value={issue?.cycle_id}
|
value={issue?.cycle_id}
|
||||||
|
Loading…
Reference in New Issue
Block a user