forked from github/plane
fix: project list view dropdown placement (#4026)
This commit is contained in:
parent
23f77328d4
commit
56d4e25431
@ -73,7 +73,7 @@ const ButtonContent: React.FC<ButtonContentProps> = (props) => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{showCount ? (
|
{showCount ? (
|
||||||
<div className="relative flex items-center gap-1">
|
<div className="relative flex items-center gap-1 max-w-full">
|
||||||
{!hideIcon && <DiceIcon className="h-3 w-3 flex-shrink-0" />}
|
{!hideIcon && <DiceIcon className="h-3 w-3 flex-shrink-0" />}
|
||||||
<div className="max-w-40 flex-grow truncate">
|
<div className="max-w-40 flex-grow truncate">
|
||||||
{value.length > 0
|
{value.length > 0
|
||||||
|
@ -257,8 +257,9 @@ export const IssueProperties: React.FC<IIssueProperties> = observer((props) => {
|
|||||||
{/* basic properties */}
|
{/* basic properties */}
|
||||||
{/* state */}
|
{/* state */}
|
||||||
<WithDisplayPropertiesHOC displayProperties={displayProperties} displayPropertyKey="state">
|
<WithDisplayPropertiesHOC displayProperties={displayProperties} displayPropertyKey="state">
|
||||||
<div className="h-5 truncate">
|
<div className="h-5">
|
||||||
<StateDropdown
|
<StateDropdown
|
||||||
|
buttonContainerClassName="truncate max-w-40"
|
||||||
value={issue.state_id}
|
value={issue.state_id}
|
||||||
onChange={handleState}
|
onChange={handleState}
|
||||||
projectId={issue.project_id}
|
projectId={issue.project_id}
|
||||||
@ -348,6 +349,7 @@ export const IssueProperties: React.FC<IIssueProperties> = observer((props) => {
|
|||||||
<WithDisplayPropertiesHOC displayProperties={displayProperties} displayPropertyKey="modules">
|
<WithDisplayPropertiesHOC displayProperties={displayProperties} displayPropertyKey="modules">
|
||||||
<div className="h-5">
|
<div className="h-5">
|
||||||
<ModuleDropdown
|
<ModuleDropdown
|
||||||
|
buttonContainerClassName="truncate max-w-40"
|
||||||
projectId={issue?.project_id}
|
projectId={issue?.project_id}
|
||||||
value={issue?.module_ids ?? []}
|
value={issue?.module_ids ?? []}
|
||||||
onChange={handleModule}
|
onChange={handleModule}
|
||||||
@ -362,8 +364,9 @@ export const IssueProperties: React.FC<IIssueProperties> = observer((props) => {
|
|||||||
|
|
||||||
{/* cycles */}
|
{/* cycles */}
|
||||||
<WithDisplayPropertiesHOC displayProperties={displayProperties} displayPropertyKey="cycle">
|
<WithDisplayPropertiesHOC displayProperties={displayProperties} displayPropertyKey="cycle">
|
||||||
<div className="h-5 truncate">
|
<div className="h-5">
|
||||||
<CycleDropdown
|
<CycleDropdown
|
||||||
|
buttonContainerClassName="truncate max-w-40"
|
||||||
projectId={issue?.project_id}
|
projectId={issue?.project_id}
|
||||||
value={issue?.cycle_id}
|
value={issue?.cycle_id}
|
||||||
onChange={handleCycle}
|
onChange={handleCycle}
|
||||||
|
Loading…
Reference in New Issue
Block a user