Display ingredients and recipe side by side

This tries to improve PR#1628 from
adamschmalhofer:feature-recipe-side-by-side
to implement Feature Request:
Recipe fullscreen ingredients and preparation both visible #2051
This commit is contained in:
Dehalion 2022-12-20 19:16:10 +00:00
parent 2ebb9b2cd9
commit f1812d680e

View File

@ -662,3 +662,24 @@ canvas.drawingBuffer {
pointer-events: none;
opacity: 0.5;
}
@media only screen and (min-width: 60rem) {
/* See ingredients and recipe side by side */
.fullscreen [id^=recipe-] .tab-content {
display: flex;
}
.fullscreen [id^=recipe-] .nav-tabs {
display: none;
}
.fullscreen [id^=recipe-] [id^=ingredients-] {
width: 20rem;
padding-right: 3rem;
}
.fullscreen [id^=recipe-] [id^=prep-] {
display: inline;
}
}