Skip to content

Commit 6a52fc6

Browse files
committed
Fix issues with ghost buttons not showing after the antd update.
1 parent a44a5aa commit 6a52fc6

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
lines changed

src/components/common/CopyFileButton.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ const CopyFileButton = styled(
6363
<Popover content={popoverContent} trigger="hover">
6464
<Button
6565
{...props}
66-
ghost
6766
icon={<CopyOutlined />}
6867
onBlur={() => {
6968
setPopoverContent(popoverContentOpts.default)

src/components/common/Diff/DiffHeader.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@ interface CompleteDiffButtonProps extends ButtonProps {
133133
const CompleteDiffButton = styled(
134134
({ open, onClick, ...props }: CompleteDiffButtonProps) =>
135135
open ? (
136-
<Button {...props} ghost icon={<RollbackOutlined />} onClick={onClick} />
136+
<Button {...props} icon={<RollbackOutlined />} onClick={onClick} />
137137
) : (
138-
<Button {...props} ghost icon={<CheckOutlined />} onClick={onClick} />
138+
<Button {...props} icon={<CheckOutlined />} onClick={onClick} />
139139
)
140140
)`
141141
${defaultIconButtonStyle}
@@ -177,7 +177,6 @@ const CopyPathToClipboardButton = styled(
177177
>
178178
<Button
179179
{...props}
180-
ghost
181180
icon={<CopyOutlined />}
182181
onMouseOver={resetCopyPathPopoverContent}
183182
/>
@@ -233,7 +232,6 @@ const CopyAnchorLinksToClipboardButton = styled(
233232
>
234233
<Button
235234
{...props}
236-
ghost
237235
icon={<LinkOutlined />}
238236
onMouseOver={resetContent}
239237
/>

src/components/common/DownloadFileButton.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ const DownloadFileButton = ({
1919
return open ? (
2020
<Button
2121
{...props}
22-
ghost
2322
shape="circle"
2423
icon={<DownloadOutlined />}
2524
target="_blank"

src/components/common/ViewFileButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const ViewFileButton = styled(
2727
)
2828
}
2929
)`
30-
font-size: 12px;
30+
font-size: 13px;
3131
`
3232

3333
export default ViewFileButton

0 commit comments

Comments
 (0)