improved showing of meal plan and bottom nav widget

This commit is contained in:
vabene1111 2023-02-19 08:50:40 +01:00
parent d9dc644cb6
commit 2cff936b5b
2 changed files with 2 additions and 2 deletions

View File

@ -837,7 +837,7 @@
<div
style="display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); column-gap: 0.5rem;row-gap: 1rem; grid-auto-rows: max-content; ">
<div v-for="day in meal_plan_grid" v-bind:key="day.day">
<b-list-group v-if="day.plan_entries.length > 0 || !isMobile">
<b-list-group :class="{'d-none d-sm-block': day.plan_entries.length === 0}">
<b-list-group-item class="hover-div">
<div class="d-flex flex-row align-items-center">
<div>

View File

@ -1,6 +1,6 @@
<template>
<!-- bottom button nav -->
<div class="fixed-bottom p-1 pt-2 border-top text-center d-md-none" style="background: white">
<div class="fixed-bottom p-1 pt-2 border-top text-center d-lg-none" style="background: white">
<div class="d-flex flex-row justify-content-around">
<div class="flex-column"><a class="nav-link bottom-nav-link p-0" v-bind:href="resolveDjangoUrl('view_search')">
<i class="fas fa-fw fa-book " style="font-size: 1.5em"></i><br/><small>Recipes</small></a>