Skip to content

Commit d320ff5

Browse files
2.2.1 patch fixes
1 parent b368c88 commit d320ff5

File tree

2 files changed

+7
-14
lines changed

2 files changed

+7
-14
lines changed

src/beta/components/log/LogDetails/AttachmentsGallery.jsx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import {
22
Box,
3+
Button,
34
IconButton,
45
ImageListItemBar,
56
Link,
@@ -13,7 +14,6 @@ import DownloadIcon from "@mui/icons-material/Download";
1314
import NavigateBeforeIcon from "@mui/icons-material/NavigateBefore";
1415
import { FileImage } from "components/Attachment";
1516
import Modal from "components/shared/Modal";
16-
import { InternalButtonLink } from "src/components/shared/Link";
1717

1818
const Image = styled(({ attachment, className }) => {
1919
return (
@@ -82,14 +82,16 @@ const GalleryView = ({ attachments, onPrevious, onNext, currentIndex }) => {
8282
gap={2}
8383
pt={4}
8484
>
85-
<InternalButtonLink
86-
variant="outlined"
87-
to={attachment.url}
85+
<Button
86+
component="a"
87+
href={attachment.url}
8888
download
89+
variant="outlined"
8990
>
9091
<DownloadIcon sx={{ fontSize: "1.1rem", margin: "0 5px 0 0" }} />
9192
Download image
92-
</InternalButtonLink>
93+
</Button>
94+
9395
<Box>
9496
<IconButton
9597
onClick={onPrevious}

src/beta/components/search/SimpleSearch.jsx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -108,15 +108,6 @@ const SimpleSearch = () => {
108108
"& .MuiInputBase-input": {
109109
padding: "10px 0",
110110
paddingRight: 0
111-
},
112-
"& .MuiOutlinedInput-notchedOutline": {
113-
border: "1.5px solid #dcddde"
114-
},
115-
"&:hover .MuiOutlinedInput-notchedOutline": {
116-
border: "1.5px solid #dcddde"
117-
},
118-
"&.Mui-focused .MuiOutlinedInput-notchedOutline": {
119-
border: "1.5px solid #dcddde" // Custom border color when focused
120111
}
121112
}
122113
}}

0 commit comments

Comments
 (0)