From 4f709485f26a5b97637d7b22799a207a0ded6d8f Mon Sep 17 00:00:00 2001 From: Nicholas Jitkoff Date: Sun, 8 May 2022 08:43:56 -0700 Subject: [PATCH] Disable inline block rendering to fix safari insertion point --- docs/edit.css | 2 +- docs/render/recipe.css | 5 ++--- docs/v1/edit.css | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/edit.css b/docs/edit.css index 39fa54d..fcf3537 100644 --- a/docs/edit.css +++ b/docs/edit.css @@ -19,7 +19,7 @@ a { } *[contenteditable="true"] { - display: inline-block; + /* display: inline-block; */ } body.loaded:not(.edited) #placeholder { diff --git a/docs/render/recipe.css b/docs/render/recipe.css index 4a38b04..0c374a5 100644 --- a/docs/render/recipe.css +++ b/docs/render/recipe.css @@ -75,7 +75,6 @@ background-color:#f1f1f1; gap: 0.5em 1em; margin-bottom: 1em; line-height:24px; - /* line-height: 2em; */ } ul.step { @@ -107,7 +106,7 @@ span.number { li { - padding: 0.25em 0.5em; + padding: 0.33em 0.5em; margin-left: -0.5em;} li:hover { background-color:rgba(0,0,0,0.1); @@ -179,7 +178,7 @@ color: rgba(0,0,0,1.0);} /* display: inline; */ } .ingredient { - padding: .25em 0em; + padding: .33em 0em; margin: 0 0em 0 -3em; line-height: 1.25em; opacity: 0.75; diff --git a/docs/v1/edit.css b/docs/v1/edit.css index 39fa54d..fcf3537 100644 --- a/docs/v1/edit.css +++ b/docs/v1/edit.css @@ -19,7 +19,7 @@ a { } *[contenteditable="true"] { - display: inline-block; + /* display: inline-block; */ } body.loaded:not(.edited) #placeholder {