From 915228f62fc919a088ffc702c4e233c8377aada5 Mon Sep 17 00:00:00 2001 From: Jing Date: Sun, 28 Nov 2021 14:29:05 +0100 Subject: [PATCH] Revert "use float instead of flex" This reverts commit 4b72b73bc21a628ce8408345d59357f4583c1a51. --- themes/cookbook/layouts/_default/baseof.print.html | 8 ++++---- themes/cookbook/layouts/partials/printscript.html | 10 +++++----- themes/cookbook/static/css/custom.css | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/themes/cookbook/layouts/_default/baseof.print.html b/themes/cookbook/layouts/_default/baseof.print.html index c5e26c6..bbd6fdc 100644 --- a/themes/cookbook/layouts/_default/baseof.print.html +++ b/themes/cookbook/layouts/_default/baseof.print.html @@ -103,13 +103,13 @@ height: 3rem; } - .clear { - clear:both; + .allZutaten { + display: flex; + flex-wrap: wrap; } .zutatenWrapper { - margin: 1em; - float: left; + flex-basis: 49%; }
diff --git a/themes/cookbook/layouts/partials/printscript.html b/themes/cookbook/layouts/partials/printscript.html index 92669f1..ae4be23 100644 --- a/themes/cookbook/layouts/partials/printscript.html +++ b/themes/cookbook/layouts/partials/printscript.html @@ -3,7 +3,6 @@ diff --git a/themes/cookbook/static/css/custom.css b/themes/cookbook/static/css/custom.css index 45f3d40..b74262d 100644 --- a/themes/cookbook/static/css/custom.css +++ b/themes/cookbook/static/css/custom.css @@ -1,4 +1,4 @@ li { padding-bottom: .5em; font-size: 20px; -} +} \ No newline at end of file