From c5951e7def271037713b88540980c14f4d64c862 Mon Sep 17 00:00:00 2001 From: Atul Tameshwari Date: Tue, 4 Aug 2026 19:50:50 +0530 Subject: [PATCH] [WEB-8510] fix(web): fix clipped/overlapping LayoutDropDown button in Create View modal (#9542) Replaced the icon button styling with a more generic button styling for the dropdown component to ensure consistency across the UI. This change enhances the visual coherence of the dropdown button's appearance. --- apps/web/core/components/dropdowns/layout.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/core/components/dropdowns/layout.tsx b/apps/web/core/components/dropdowns/layout.tsx index 23ecf0a4e2..f48b0e9570 100644 --- a/apps/web/core/components/dropdowns/layout.tsx +++ b/apps/web/core/components/dropdowns/layout.tsx @@ -11,11 +11,11 @@ import { ISSUE_LAYOUT_MAP } from "@plane/constants"; import { useTranslation } from "@plane/i18n"; import { CheckIcon } from "@plane/propel/icons"; import { EIssueLayoutTypes } from "@plane/types"; +import { getButtonStyling } from "@plane/propel/button"; import { Dropdown } from "@plane/ui"; import { cn } from "@plane/utils"; // components import { IssueLayoutIcon } from "@/components/issues/issue-layouts/layout-icon"; -import { getIconButtonStyling } from "@plane/propel/icon-button"; type TLayoutDropDown = { onChange: (value: EIssueLayoutTypes) => void; @@ -74,7 +74,7 @@ export const LayoutDropDown = observer(function LayoutDropDown(props: TLayoutDro value={value?.toString()} keyExtractor={keyExtractor} options={options} - buttonContainerClassName={cn(getIconButtonStyling("secondary", "lg"), "w-auto px-2")} + buttonContainerClassName={cn(getButtonStyling("secondary", "lg"))} buttonContent={buttonContent} renderItem={itemContent} disableSearch