mirror of
https://github.com/grocy/grocy.git
synced 2026-04-04 03:46:16 +02:00
Move recipe CSS to the recipe view
This commit is contained in:
parent
f1812d680e
commit
e843e66de1
|
|
@ -661,25 +661,4 @@ canvas.drawingBuffer {
|
|||
.not-allowed {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
|
@ -10,6 +10,27 @@
|
|||
max-height: 250px !important;
|
||||
object-fit: cover !important;
|
||||
}
|
||||
|
||||
@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;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@endpush
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user