Skip to content

Commit

Permalink
CW-2236 Added styles for plus icon
Browse files Browse the repository at this point in the history
  • Loading branch information
pvm-code committed Oct 26, 2023
1 parent a724ca1 commit 7589832
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
@import "../../../../../../constants";
@import "../../../../../../styles/sizes";

.buttonIcon {
background-color: transparent;

&:hover {
background-color: $light-gray-1;
}
}

.icon {
width: 0.625rem;
height: 0.625rem;
width: 1rem;
height: 1rem;
color: $c-gray-800;

@include tablet {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,8 @@ const NewStreamButton: FC<NewStreamButtonProps> = (props) => {
}

const triggerEl = (
<ButtonIcon
variant={
isMobileVersion ? ButtonVariant.Transparent : ButtonVariant.PrimaryGray
}
>
{isMobileVersion ? (
<PlusIcon className={styles.icon} />
) : (
<BoldPlusIcon className={styles.icon} />
)}
<ButtonIcon className={styles.buttonIcon}>
<PlusIcon className={styles.icon} />
</ButtonIcon>
);
const menuProps = {
Expand Down

0 comments on commit 7589832

Please sign in to comment.