Skip to content

Commit 00aac89

Browse files
authored
fix:multiple buttons (calcom#21928)
1 parent f390e91 commit 00aac89

6 files changed

Lines changed: 6 additions & 2 deletions

File tree

apps/web/components/settings/CustomEmailTextField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ const CustomEmailTextField = ({
105105
<DropdownItem
106106
StartIcon="trash"
107107
color="destructive"
108-
className="disabled:opacity-40"
108+
className="rounded-t-none disabled:opacity-40"
109109
onClick={handleItemDelete}
110110
disabled={emailPrimary}
111111
data-testid="secondary-email-delete-button">

apps/web/modules/event-types/views/event-types-listing-view.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ export const InfiniteEventTypeList = ({
750750
setDeleteDialogSchedulingType(type.schedulingType);
751751
}}
752752
StartIcon="trash"
753-
className="w-full rounded-none">
753+
className="w-full rounded-t-none">
754754
{t("delete")}
755755
</DropdownItem>
756756
</DropdownMenuItem>

packages/features/ee/organizations/pages/components/OtherTeamListItem.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ export default function OtherTeamListItem(props: Props) {
128128
color="destructive"
129129
type="button"
130130
StartIcon="trash"
131+
className="rounded-t-none"
131132
onClick={(e) => {
132133
e.stopPropagation();
133134
}}>

packages/features/ee/organizations/pages/settings/attributes/attributes-list-view.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ function AttributeItem({
112112
type="button"
113113
StartIcon="trash-2"
114114
color="destructive"
115+
className="rounded-t-none"
115116
onClick={() => setAttributeToDelete(attribute)}>
116117
{t("delete")}
117118
</DropdownItem>

packages/features/ee/teams/components/TeamListItem.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ export default function TeamListItem(props: Props) {
272272
color="destructive"
273273
type="button"
274274
StartIcon="trash"
275+
className="rounded-t-none"
275276
onClick={(e) => {
276277
e.stopPropagation();
277278
}}>

packages/features/schedules/components/ScheduleListItem.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ export function ScheduleListItem({
127127
color="destructive"
128128
StartIcon="trash"
129129
data-testid="delete-schedule"
130+
className="rounded-t-none"
130131
onClick={() => {
131132
if (!isDeletable) {
132133
showToast(t("requires_at_least_one_schedule"), "error");

0 commit comments

Comments
 (0)