From 50e829f270a4f6ebd21d3041547a71dc72a93460 Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Tue, 24 Sep 2019 10:28:42 +0200 Subject: [PATCH] Hide the recipe interaction buttons when displayed as a fullscreen card (as the dialogs would be behind the fullscreen card) --- public/css/grocy.css | 4 ++++ views/recipes.blade.php | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/public/css/grocy.css b/public/css/grocy.css index c18d820d..ef7412de 100644 --- a/public/css/grocy.css +++ b/public/css/grocy.css @@ -63,6 +63,10 @@ a.discrete-link:focus { overflow: hidden; } + .fullscreen-card .hide-on-fullscreen-card { + display: none; +} + .form-check-input.is-valid ~ .form-check-label, .was-validated .form-check-input:valid ~ .form-check-label { color: inherit; diff --git a/views/recipes.blade.php b/views/recipes.blade.php index 2c2703a2..82fede08 100644 --- a/views/recipes.blade.php +++ b/views/recipes.blade.php @@ -132,16 +132,16 @@
{{ $selectedRecipe->name }}   - + - +    - + - +