Skip to content

Commit

Permalink
fix mobile styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksandr Raspopov committed Oct 3, 2024
1 parent eec8e2c commit d30eb68
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/components/shared/Detail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export function Detail({
{(() => {
if (donwloadLink && href) {
return (
<Flex align="center" gap={8} justify="flex-end">
<Flex align="center" gap={8} justify={sm ? "flex-end" : "flex-start"}>
<DownloadQRLink
button={
<Button
Expand Down
4 changes: 4 additions & 0 deletions ui/src/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,10 @@
display: flex;
justify-content: flex-end;
word-break: keep-all;

@media screen and (width <= 576px) {
justify-content: flex-start;
}
}

.ant-typography-copy {
Expand Down

0 comments on commit d30eb68

Please sign in to comment.