mirror of
https://github.com/grocy/grocy.git
synced 2026-04-08 05:36:15 +02:00
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:
parent
2ebb9b2cd9
commit
f1812d680e
|
|
@ -662,3 +662,24 @@ canvas.drawingBuffer {
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
opacity: 0.5;
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user