[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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user