Skip to content

Commit

Permalink
fix: elements covered by pinned recipes toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
julianpoy committed Nov 19, 2023
1 parent 0adf49a commit 845c23b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions packages/frontend/src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
(ionWillOpen)="updateNavList()"
contentId="main-content"
type="overlay"
[class]="{
cookingToolbarOpen: cookingToolbarService.pinnedRecipes.length > 0
}"
>
<ion-header>
<ion-toolbar color="nav">
Expand Down
5 changes: 3 additions & 2 deletions packages/frontend/src/app/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ ion-searchbar {
}
}

ion-router-outlet.cookingToolbarOpen {
bottom: 60px;
ion-router-outlet.cookingToolbarOpen,
ion-menu.cookingToolbarOpen {
height: calc(100% - 60px);
}

.bar-button-default-md:hover:not(.disable-hover),
Expand Down

0 comments on commit 845c23b

Please sign in to comment.