Skip to content

Commit

Permalink
[BUGFIX] text and media, fixed image appearance (#258)
Browse files Browse the repository at this point in the history
* [BUGFIX] text and media, fixed image appearance

* [CLEANUP] removed unneeded comment
  • Loading branch information
myroslav321 authored and MattiasNilsson committed Aug 14, 2017
1 parent d81a4c7 commit 8abc64c
Showing 1 changed file with 36 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,41 @@
color: fade(@main-text-color, 50%);
font-size: 13px;
}

.ce-below .ce-gallery[data-ce-columns='2'] .ce-column,
.ce-above .ce-gallery[data-ce-columns='2'] .ce-column {
width: calc(~"50% - 10px");
}

.ce-below .ce-gallery[data-ce-columns='3'] .ce-column,
.ce-above .ce-gallery[data-ce-columns='3'] .ce-column {
width: calc(~"100% / 3 - 10px");
}

.ce-below .ce-gallery[data-ce-columns='4'] .ce-column,
.ce-above .ce-gallery[data-ce-columns='4'] .ce-column {
width: calc(~"100% / 4 - 10px");
}

.ce-below .ce-gallery[data-ce-columns='5'] .ce-column,
.ce-above .ce-gallery[data-ce-columns='5'] .ce-column {
width: calc(~"100% / 5 - 10px");
}

.ce-below .ce-gallery[data-ce-columns='6'] .ce-column,
.ce-above .ce-gallery[data-ce-columns='6'] .ce-column {
width: calc(~"100% / 6 - 10px");
}

.ce-below .ce-gallery[data-ce-columns='7'] .ce-column,
.ce-above .ce-gallery[data-ce-columns='7'] .ce-column {
width: calc(~"100% / 7 - 10px");
}

.ce-below .ce-gallery[data-ce-columns='8'] .ce-column,
.ce-above .ce-gallery[data-ce-columns='8'] .ce-column {
width: calc(~"100% / 8 - 10px");
}

// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------

0 comments on commit 8abc64c

Please sign in to comment.