[FIX] web_editor: color-combination preview items alignment
task-2335267 Part-of: #57942 X-original-commit: e30f555770f22f91743c33b74615cea8ecdf983c
This commit is contained in:
committed by
qsm-odoo
parent
5ab7c51b2b
commit
e739bcf227
@@ -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;
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
</button>
|
||||
</t>
|
||||
<t t-name="web_editor.color.combination.preview">
|
||||
<div class="o_we_cc_preview_wrapper d-flex justify-content-between align-items-center">
|
||||
<div class="o_we_cc_preview_wrapper d-flex justify-content-between">
|
||||
<h1 class="o_we_color_combination_btn_title">Title</h1>
|
||||
<p class="o_we_color_combination_btn_text flex-grow-1">Text</p>
|
||||
<span class="o_we_color_combination_btn_btn btn btn-sm btn-primary o_btn_preview mr-1"><small>Button</small></span>
|
||||
|
||||
Reference in New Issue
Block a user