diff --git a/apps/app/components/core/board-view/board-header.tsx b/apps/app/components/core/board-view/board-header.tsx index 30ec5c0fb7d..880a6b56b3c 100644 --- a/apps/app/components/core/board-view/board-header.tsx +++ b/apps/app/components/core/board-view/board-header.tsx @@ -118,13 +118,13 @@ export const BoardHeader: React.FC = ({ >
{getGroupIcon()}

= ({ {displayProperties && ( -
+
{properties.priority && ( = ({ issue={issue} partialUpdateIssue={partialUpdateIssue} position="left" + className="max-w-full" isNotAllowed={isNotAllowed} user={user} /> diff --git a/apps/app/components/core/spreadsheet-view/single-issue.tsx b/apps/app/components/core/spreadsheet-view/single-issue.tsx index 579dcb69830..daeeedd9a36 100644 --- a/apps/app/components/core/spreadsheet-view/single-issue.tsx +++ b/apps/app/components/core/spreadsheet-view/single-issue.tsx @@ -275,6 +275,7 @@ export const SingleSpreadsheetIssue: React.FC = ({ issue={issue} partialUpdateIssue={partialUpdateIssue} position="left" + className="max-w-full" tooltipPosition={tooltipPosition} customButton user={user} diff --git a/apps/app/components/issues/view-select/state.tsx b/apps/app/components/issues/view-select/state.tsx index 4a9f585e25b..a38ff55a789 100644 --- a/apps/app/components/issues/view-select/state.tsx +++ b/apps/app/components/issues/view-select/state.tsx @@ -22,6 +22,7 @@ type Props = { partialUpdateIssue: (formData: Partial, issue: IIssue) => void; position?: "left" | "right"; tooltipPosition?: "top" | "bottom"; + className?: string; selfPositioned?: boolean; customButton?: boolean; user: ICurrentUserResponse | undefined; @@ -33,6 +34,7 @@ export const ViewStateSelect: React.FC = ({ partialUpdateIssue, position = "left", tooltipPosition = "top", + className = "", selfPositioned = false, customButton = false, user, @@ -68,16 +70,19 @@ export const ViewStateSelect: React.FC = ({ tooltipContent={addSpaceIfCamelCase(selectedOption?.name ?? "")} position={tooltipPosition} > -
- {selectedOption && - getStateGroupIcon(selectedOption.group, "16", "16", selectedOption.color)} - {selectedOption?.name ?? "State"} +
+ + {selectedOption && + getStateGroupIcon(selectedOption.group, "16", "16", selectedOption.color)} + + {selectedOption?.name ?? "State"}
); return ( { partialUpdateIssue( diff --git a/apps/app/components/ui/custom-search-select.tsx b/apps/app/components/ui/custom-search-select.tsx index f9ea3daa1b9..0eb82305e4e 100644 --- a/apps/app/components/ui/custom-search-select.tsx +++ b/apps/app/components/ui/custom-search-select.tsx @@ -23,6 +23,7 @@ type CustomSearchSelectProps = { verticalPosition?: "top" | "bottom"; noChevron?: boolean; customButton?: JSX.Element; + className?: string; optionsClassName?: string; input?: boolean; disabled?: boolean; @@ -43,6 +44,7 @@ export const CustomSearchSelect = ({ verticalPosition = "bottom", noChevron = false, customButton, + className = "", optionsClassName = "", input = false, disabled = false, @@ -70,7 +72,7 @@ export const CustomSearchSelect = ({ return ( {({ open }: any) => (