Skip to content

Commit

Permalink
oct-2263: sablier ui update
Browse files Browse the repository at this point in the history
  • Loading branch information
jmikolajczyk committed Jan 16, 2025
1 parent 5fa6528 commit 54597ee
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const LockGlmBudgetBox: FC<LockGlmBudgetBoxProps> = ({
);

const shouldRaffleWinningsBeDisplayed =
currentMode === 'unlock' && userSablierStreams && userSablierStreams.sum > 0;
currentMode === 'unlock' && userSablierStreams && userSablierStreams.sumAvailable > 0;
const areFundsFetching = isFetchingAvailableFundsGlm || isFetchinguserSablierStreams;

const secondRowValue = getFormattedGlmValue({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,19 @@ $padding: 1.1rem;
background: $color-octant-orange5;
color: $color-octant-orange;

.img {
path {
stroke: $color-octant-orange;

&:hover {
stroke: $color-octant-orange;
}
}
}
}

&:not(.isSablierStreamCancelled) {
.tooltipWrapper {
&:hover {
path {
stroke: $color-white !important;
stroke: $color-octant-orange !important;
}
}
}

.img {
path {
stroke: $color-octant-orange;
}
}
}

.img {
Expand All @@ -54,6 +48,8 @@ $padding: 1.1rem;
}

.tooltipWrapper {
user-select: none;

&:hover {
path {
stroke: $color-white !important;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ const RaffleWinnerBadge: FC<RaffleWinnerBadgeProps> = ({ isVisible }) => {
tooltipClassName={styles.tooltip}
>
<Svg
classNameSvg={cx(styles.img, isSablierStreamCancelled && styles.isSablierStreamCancelled)}
classNameSvg={styles.img}
img={isSablierStreamCancelled ? cross : gift}
size={isSablierStreamCancelled ? 1.2 : 1.6}
/>
Expand Down

0 comments on commit 54597ee

Please sign in to comment.