Skip to content

Commit 7f6d226

Browse files
committed
fix: styling for the action buttons
Signed-off-by: amitamrutiya <amitamrutiya2210@gmail.com>
1 parent 420708f commit 7f6d226

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/custom/CatalogDetail/ActionButton.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ const ActionButtons: React.FC<ActionButtonsProps> = ({
5050
{showOpenPlaygroundAction && (
5151
<ActionButton
5252
sx={{
53-
borderRadius: theme.shape.borderRadius,
5453
backgroundColor: theme.palette.background.cta?.default,
5554
color: theme.palette.text.inverse,
5655
gap: '10px',
@@ -81,7 +80,6 @@ const ActionButtons: React.FC<ActionButtonsProps> = ({
8180
sx={{
8281
backgroundColor: showOpenPlaygroundAction ? 'transparent' : undefined,
8382
color: theme.palette.text.default,
84-
borderRadius: theme.shape.borderRadius,
8583
gap: '10px',
8684
border: `1px solid ${theme.palette.border.normal}`
8785
}}
@@ -100,7 +98,6 @@ const ActionButtons: React.FC<ActionButtonsProps> = ({
10098
)}
10199
<ActionButton
102100
sx={{
103-
borderRadius: theme.shape.borderRadius,
104101
backgroundColor: 'transparent',
105102
border: `1px solid ${theme.palette.border.normal}`,
106103
gap: '10px',
@@ -129,7 +126,6 @@ const ActionButtons: React.FC<ActionButtonsProps> = ({
129126
{showInfoAction && (
130127
<ActionButton
131128
sx={{
132-
borderRadius: theme.shape.borderRadius,
133129
backgroundColor: 'transparent',
134130
border: `1px solid ${theme.palette.border.normal}`,
135131
gap: '10px',
@@ -144,7 +140,6 @@ const ActionButtons: React.FC<ActionButtonsProps> = ({
144140
{showDeleteAction && (
145141
<UnpublishAction
146142
sx={{
147-
borderRadius: theme.shape.borderRadius,
148143
gap: '10px'
149144
}}
150145
onClick={handleDelete}
@@ -156,7 +151,6 @@ const ActionButtons: React.FC<ActionButtonsProps> = ({
156151
{showUnpublishAction && (
157152
<UnpublishAction
158153
sx={{
159-
borderRadius: '0.2rem',
160154
gap: '10px'
161155
}}
162156
onClick={handleUnpublish}

0 commit comments

Comments
 (0)