Skip to content

Commit

Permalink
fix(frontend): correct info button styles for gallery slide info
Browse files Browse the repository at this point in the history
  • Loading branch information
MiracleHorizon committed Aug 6, 2024
1 parent fec1648 commit a62e7c6
Show file tree
Hide file tree
Showing 5 changed files with 826 additions and 425 deletions.
2 changes: 1 addition & 1 deletion apps/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@dnd-kit/utilities": "3.2.2",
"@radix-ui/react-accordion": "1.1.2",
"@radix-ui/react-form": "0.0.3",
"@radix-ui/themes": "3.0.5",
"@radix-ui/themes": "3.1.1",
"@scissors/react-icons": "workspace:*",
"@scissors/sharp": "workspace:*",
"@scissors/utility": "workspace:*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ interface Props {

export const GallerySlideDetailItem = ({ label, value }: Props) => (
<Text as='div'>
{label}: <Text weight='medium'>{value}</Text>
<Text color='gray'>{label}</Text>: <Text weight='medium'>{value}</Text>
</Text>
)
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const ExportSettings = ({ index, settings }: Pick<Props, 'index' | 'settings'>)
})

return (
<Flex mt='2' className={styles.export}>
<Flex mt='2' justify='end' className={styles.export}>
<ButtonDownload onClick={handleExport} />
</Flex>
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const GallerySlidePopover = (props: Props) => (
<Popover.Root modal>
<GallerySlidePopoverTrigger />

<Popover.Content align='end' minWidth='120px' maxWidth='170px' className={styles.content}>
<Popover.Content align='end' minWidth='120px' maxWidth='220px' className={styles.content}>
<GallerySlideInfo {...props} />
</Popover.Content>
</Popover.Root>
Expand Down
Loading

0 comments on commit a62e7c6

Please sign in to comment.