Skip to content

Commit

Permalink
migrate: fix btn position in sidenav
Browse files Browse the repository at this point in the history
  • Loading branch information
johannesjo committed Jun 19, 2024
1 parent 418ec54 commit 71db560
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions src/app/core-ui/side-nav/side-nav.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,20 @@ section {
button:last-of-type {
border-radius: 0;
align-self: stretch;
display: block;
height: auto;
display: inline-flex;
min-width: 48px;
width: 40px;
height: 40px;
padding: 0;
align-items: center;
justify-content: center;

@include mq(xs) {
.mat-mdc-button-touch-target {
width: 40px;
height: 40px;
}

@include mousePrimaryDevice {
opacity: 0;
display: none;
}
Expand All @@ -154,8 +163,10 @@ section {
&:focus,
&:hover {
button:last-of-type {
opacity: 0.8;
display: block;
@include mousePrimaryDevice {
opacity: 0.8;
display: inline-flex;
}
}
}
}
Expand Down Expand Up @@ -193,8 +204,6 @@ section {

.tag-settings-btn,
.project-settings-btn {
padding-top: 5px;
padding-bottom: 5px;
border-radius: 0 !important;

::ng-deep {
Expand Down

0 comments on commit 71db560

Please sign in to comment.