summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/scss/web_editor.common.scss
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web_editor/static/src/scss/web_editor.common.scss')
-rw-r--r--addons/web_editor/static/src/scss/web_editor.common.scss12
1 files changed, 8 insertions, 4 deletions
diff --git a/addons/web_editor/static/src/scss/web_editor.common.scss b/addons/web_editor/static/src/scss/web_editor.common.scss
index 9bfb7cf025e..39923c9c670 100644
--- a/addons/web_editor/static/src/scss/web_editor.common.scss
+++ b/addons/web_editor/static/src/scss/web_editor.common.scss
@@ -149,8 +149,13 @@ ol > li.o_indent, ul > li.o_indent {
}
}
-
// Medias
+img.o_we_custom_image {
+ // Images added with the editor are .img-fluid by default but should
+ // still behave like inline content.
+ display: inline-block;
+}
+
img.shadow {
box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.2);
}
@@ -185,7 +190,8 @@ img.ml-auto, img.mx-auto {
.fa-10x {
font-size: 10em;
}
-.fa.d-block.mx-auto {
+.fa.mx-auto {
+ display: block;
text-align: center;
}
@@ -236,8 +242,6 @@ html[data-browser^="msie"] div.media_iframe_video iframe {
margin-left: 0;
}
-
-
// Fields
address {
.fa.fa-mobile-phone {