diff --git a/addons/web_editor/static/src/scss/wysiwyg_snippets.scss b/addons/web_editor/static/src/scss/wysiwyg_snippets.scss index 26a86d89061..8634d732759 100644 --- a/addons/web_editor/static/src/scss/wysiwyg_snippets.scss +++ b/addons/web_editor/static/src/scss/wysiwyg_snippets.scss @@ -1259,24 +1259,25 @@ body.editor_enable.editor_has_snippets { .o_we_cc_preview_wrapper { @extend %o-preview-alpha-background; font-family: sans-serif !important; - font-size: 16px !important; - padding: $o-we-sidebar-content-field-spacing; + font-size: 15px !important; + padding: $o-we-sidebar-content-field-spacing $o-we-sidebar-content-field-spacing $o-we-sidebar-content-field-spacing*.8; } .o_we_cc_preview_wrapper > * { - margin-top: 0 !important; margin-bottom: 0 !important; - line-height: .8 !important; + line-height: 1 !important; } .o_we_color_combination_btn_text { color: inherit !important; font-family: inherit !important; font-size: 0.8em !important; + margin-top: .5em!important; } .o_we_color_combination_btn_title { - font-size: 1em !important; + margin-top: 0 !important; + font-size: 1.3em !important; } .o_we_color_combination_btn_btn { - padding: 3px 3px 2px !important; + padding: 0.2em 3px 0.3em !important; border-radius: 2px !important; font-size: 0.8em !important; } diff --git a/addons/web_editor/static/src/xml/snippets.xml b/addons/web_editor/static/src/xml/snippets.xml index aef96c3b981..0d833333850 100644 --- a/addons/web_editor/static/src/xml/snippets.xml +++ b/addons/web_editor/static/src/xml/snippets.xml @@ -75,7 +75,7 @@ -
+

Title

Text

Button