diff --git a/editor/css/editor-libs/common.css b/editor/css/editor-libs/common.css index 230d71af5..103dde021 100644 --- a/editor/css/editor-libs/common.css +++ b/editor/css/editor-libs/common.css @@ -520,10 +520,16 @@ body { z-index: 4; } +.warning-container { + border: 1px solid var(--border-primary); + border-top: 0; + border-radius: 0 0 var(--button-radius) var(--button-radius); + padding: 16px; +} + .warning { position: relative; padding: 1rem 1rem 1rem 3rem; - margin: 1rem; background-color: var(--background-warning); border-radius: var(--elem-radius); border: 1px solid var(--border-secondary); diff --git a/editor/tmpl/live-css-tmpl.html b/editor/tmpl/live-css-tmpl.html index ecfab26d0..35e97ecc9 100644 --- a/editor/tmpl/live-css-tmpl.html +++ b/editor/tmpl/live-css-tmpl.html @@ -17,13 +17,17 @@