From e9e020856150b158dd182f4a2fe57d869858b72e Mon Sep 17 00:00:00 2001 From: stephan Date: Thu, 19 May 2022 16:11:35 +0000 Subject: [PATCH] Default to top/bottom layout with input on the bottom. Offer a toggle to swap input/output positions. FossilOrigin-Name: 362d236aca31ca2004d1e81d8e306f7a12a6cb4eeb2bab432a9c2aae5206ddd7 --- ext/fiddle/fiddle.in.html | 14 ++++++++++++-- ext/fiddle/module-post.js | 18 ++++++++++++++---- manifest | 14 +++++++------- manifest.uuid | 2 +- 4 files changed, 34 insertions(+), 14 deletions(-) diff --git a/ext/fiddle/fiddle.in.html b/ext/fiddle/fiddle.in.html index a14bf5b4b4..8a3a94e147 100644 --- a/ext/fiddle/fiddle.in.html +++ b/ext/fiddle/fiddle.in.html @@ -50,6 +50,12 @@ #main-wrapper.side-by-side { flex-direction: row-reverse; } + #main-wrapper.swapio { + flex-direction: column; + } + #main-wrapper.side-by-side.swapio { + flex-direction: row; + } .ta-wrapper{ display: flex; flex-direction: column; @@ -106,9 +112,9 @@ span.labeled-input { padding: 0.25em; margin: 0.25em 0.5em; - border: 1px inset; border-radius: 0.25em; white-space: nowrap; + background: #0002; } #notes-caveats { border-top: 1px dotted; @@ -167,6 +173,10 @@ + + + + @@ -179,7 +189,7 @@ -
+