Skip to content

Commit

Permalink
Update more for new button structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Twixes committed Dec 5, 2023
1 parent 8fc28e9 commit cee1076
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 0 additions & 2 deletions frontend/src/lib/lemon-ui/LemonButton/LemonButton3000.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@
}

.LemonButton__icon {
transition: none;

> * {
opacity: var(--lemon-button-icon-opacity);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,8 @@ body:not(.posthog-3000) {
.LemonButton:not(:hover) {
background: var(--bg-3000);

.LemonButton__icon,
.LemonButton__content {
opacity: 0.4;
opacity: var(--lemon-button-icon-opacity);
}
}

Expand Down Expand Up @@ -161,10 +160,8 @@ body:not(.posthog-3000) {

&.LemonSegmentedButton__option--selected {
.LemonButton {
.LemonButton__icon,
.LemonButton__content {
opacity: 1;
}
--lemon-button-icon-opacity: 1;
--lemon-button-profile-picture-opacity: 1;
}

.LemonButton__chrome::after {
Expand Down

0 comments on commit cee1076

Please sign in to comment.