Skip to content

Commit

Permalink
EPMRPP-90680 || Popover is broken in sidebar (#3819)
Browse files Browse the repository at this point in the history
* EPMRPP-90680 || Popover is broken in sidebar

* EPMRPP-90680 || Code Review fix - 1

* EPMRPP-90680 || fix organization popover
  • Loading branch information
BlazarQSO authored May 6, 2024
1 parent b1639a5 commit c4eb11b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@

.popover {
max-height: calc(100% - 112px);
margin-left: -4px;
margin-left: 4px;
padding: 8px 0;

&::after {
Expand Down
22 changes: 11 additions & 11 deletions app/src/layouts/common/appSidebar/appSidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -113,17 +113,6 @@
}
}

.user-control {
width: 100%;
box-sizing: border-box;
padding: 0 8px;
cursor: pointer;

&:hover {
background-color: $COLOR--darkmode-gray-500;
}
}

.hover {
background-color: $COLOR--darkmode-gray-500;

Expand All @@ -137,3 +126,14 @@
}
}
}

.user-control {
width: 100%;
box-sizing: border-box;
padding: 0 8px;
cursor: pointer;

&:hover {
@extend .hover;
}
}
15 changes: 3 additions & 12 deletions app/src/layouts/common/appSidebar/userControl/userControl.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,6 @@
color: $COLOR--darkmode-gray-100;
width: 100%;

&:hover {
background-color: $COLOR--darkmode-gray-500;
.user-details {
color: $COLOR--white-two;
}

path {
fill: $COLOR--white-two;
}
}

@media (max-width: $SCREEN_XS_MAX) {
display: none;
}
Expand Down Expand Up @@ -103,9 +92,11 @@

.popover-control {
height: 48px;
width: 100%;
width: 264px;
padding: 0 6px;
border: 2px solid transparent;
display: flex;
align-items: center;

&:focus-visible {
outline: none;
Expand Down

0 comments on commit c4eb11b

Please sign in to comment.