Skip to content

Commit

Permalink
style: add some padding
Browse files Browse the repository at this point in the history
  • Loading branch information
tyn1998 committed Apr 24, 2024
1 parent 29e9db7 commit 0498ea4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/pages/ContentScripts/components/NativePopover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export const NativePopover = ({
}
const { top, left } = anchorOffset;

$popoverContent.css('padding', '10px 5px');
$popoverContent.css('width', width);
$popoverContainer.css('top', `${top + anchorHeight + 10}px`);
$popoverContainer.css(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const init = async (): Promise<void> => {
'body'
)[0];
render(
<NativePopover anchor={$starButton} width={270} arrowPosition="top-middle">
<NativePopover anchor={$starButton} width={280} arrowPosition="top-middle">
<View stars={stars} meta={meta} />
</NativePopover>,
placeholderElement
Expand Down

0 comments on commit 0498ea4

Please sign in to comment.