Move recipe CSS to the recipe view

This commit is contained in:
Dehalion 2022-12-23 16:18:45 +00:00
parent f1812d680e
commit e843e66de1
2 changed files with 21 additions and 21 deletions

View File

@ -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;
}
}

View File

@ -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