[IMP] portal: default floating media' spacing

When an image/video is floating, the text around was hitting the image
as no spacing was defined. Now, a left margin is added on right-floating
images and a right margin is added on left-floating images.
This commit is contained in:
qsm-odoo
2018-01-25 13:56:29 +01:00
parent eb2cf11904
commit 461bf2331d
+10
View File
@@ -143,6 +143,16 @@ hr {
min-height: 24px;
}
// Images spacing
img, .media_iframe_video, .o_image {
&.pull-right {
margin-left: @grid-gutter-width / 2;
}
&.pull-left {
margin-right: @grid-gutter-width / 2;
}
}
// Others
::-moz-selection {
background: rgba(150, 150, 220, 0.3);