Skip to content

Commit

Permalink
fix: review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
niloofar-deriv committed Feb 16, 2024
1 parent e38c954 commit 7cb5903
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions lib/components/SideNote/SideNote.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.deriv-side-note {
background-color: #f2f3f4;
color: #333333;
padding: 1rem 1.5rem;
border-radius: 0.5rem;
padding: 16px 24px;
border-radius: 8px;

&:hover > &__action {
text-decoration: underline;
Expand All @@ -11,9 +11,8 @@
&__action {
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
gap: 0.5rem;
gap: 8px;
cursor: pointer;
}
}
2 changes: 1 addition & 1 deletion lib/components/SideNote/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const SideNote = ({
actionClassName,
actionLabel,
...props
}: PropsWithChildren<SideNoteProps>): React.JSX.Element => (
}: PropsWithChildren<SideNoteProps>) => (
<div className={clsx("deriv-side-note", className)} {...props}>
{title && (
<Text size={titleSize} align="center" weight="bold">
Expand Down

0 comments on commit 7cb5903

Please sign in to comment.