From 2405c319cb55f33cbebdafcb5e031333a7116307 Mon Sep 17 00:00:00 2001 From: Andrew Michael McNutt Date: Tue, 25 Jul 2023 09:23:50 -0500 Subject: [PATCH] css improvements --- packages/prong-editor/src/stylesheets/style.css | 6 ++++++ sites/docs/src/App.css | 10 +--------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/packages/prong-editor/src/stylesheets/style.css b/packages/prong-editor/src/stylesheets/style.css index 2d1484a..d0500b4 100644 --- a/packages/prong-editor/src/stylesheets/style.css +++ b/packages/prong-editor/src/stylesheets/style.css @@ -224,6 +224,12 @@ /* POPOVER STUFF */ + +.cm-annotation-widget-popover-container { + max-width: 420px; + outline: none; +} + .cm-tooltip-autocomplete.cm-tooltip { max-width: 400px } diff --git a/sites/docs/src/App.css b/sites/docs/src/App.css index 1baf1de..36d269d 100644 --- a/sites/docs/src/App.css +++ b/sites/docs/src/App.css @@ -46,6 +46,7 @@ code { .App, .styler-app, .editor-container, .tracery-app-root, .vl-demo, #quiet-root { overflow: auto; + flex: 1; } /* EDITOR STUFF */ @@ -58,19 +59,12 @@ code { height: 100%; } -.cm-annotation-widget-popover-container { - max-width: 420px; - outline: none; -} body, html, #root, .proot { height: 100%; } - - .proot .link-container h1 { - /* position: absolute; */ left: 29%; top: 51px; color: white; @@ -87,7 +81,6 @@ body, html, #root, .proot { } .root { - /* align-items: center; */ display: flex; flex-direction: column; height: 100%; @@ -122,7 +115,6 @@ body, html, #root, .proot { background: #222222ef; color: white; height: 100%; - /* min-width: 300px; */ width: 320px; padding: 10px; display: flex;