mirror of
https://github.com/grocy/grocy.git
synced 2025-10-15 09:46:03 +00:00
Fixed scrolling did not work when showing a recipe in fullscreen mode (fixes #76)
This commit is contained in:
@@ -50,12 +50,13 @@ a.discrete-link:focus {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.fullscreen {
|
.fullscreen {
|
||||||
z-index: 9999;
|
z-index: 9999;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-check-input.is-valid ~ .form-check-label,
|
.form-check-input.is-valid ~ .form-check-label,
|
||||||
|
@@ -158,4 +158,5 @@ recipesTables.on('select', function(e, dt, type, indexes)
|
|||||||
$("#selectedRecipeToggleFullscreenButton").on('click', function(e)
|
$("#selectedRecipeToggleFullscreenButton").on('click', function(e)
|
||||||
{
|
{
|
||||||
$("#selectedRecipeCard").toggleClass("fullscreen");
|
$("#selectedRecipeCard").toggleClass("fullscreen");
|
||||||
|
$("#selectedRecipeCard .card-header").toggleClass("fixed-top");
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user