Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Some improvements for images in the wysiwig editor (margins)
  • Loading branch information
torinfo committed May 15, 2015
1 parent 1172dc6 commit b6023c8
Showing 1 changed file with 29 additions and 8 deletions.
Expand Up @@ -253,17 +253,20 @@ img {
vertical-align: bottom;
}

figure
{
margin: 5px;
}

span.cke_image_nocaption[align="left"],
span.cke_image_nocaption[style*="float: left"],
span.cke_image_nocaption[style*="float:left"]
{
margin: 5px 15px 0px 0px;
}

div[align="left"] figure,
div[style*="float: left"] figure,
div[style*="float:left"] figure
{
margin: 5px 15px 0px 0px;
}

img[align="left"],
img[style*="float: left"],
Expand All @@ -272,10 +275,11 @@ img[style*="float:left"]
margin: 5px 15px 0px 0px;
}

img[align="right"],
img[style*="float: right"],
img[style*="float:right"]{
margin: 5px 0px 0px 15px;
figure[align="left"],
figure[style*="float: left"],
figure[style*="float:left"]
{
margin: 5px 15px 0px 0px;
}

span.cke_image_nocaption[align="right"],
Expand All @@ -284,6 +288,23 @@ span.cke_image_nocaption[style*="float:right"]{
margin: 5px 0px 0px 15px;
}

div[align="right"] figure,
div[style*="float: right"] figure,
div[style*="float:right"] figure{
margin: 5px 0px 0px 15px;
}

img[align="right"],
img[style*="float: right"],
img[style*="float:right"]{
margin: 5px 0px 0px 15px;
}

figure[align="right"],
figure[style*="float: right"],
figure[style*="float:right"]{
margin: 5px 0px 0px 15px;
}

img.centre {
display: block;
Expand Down

0 comments on commit b6023c8

Please sign in to comment.