Centered before/after card within the editor

refs https://github.com/TryGhost/Team/issues/1249

When images are used which do not fill the space of the card - e.g. when
using a fullwidth card the slider is positioned to the left and doesn't
look good.
This commit is contained in:
Fabien egg O'Carroll 2021-12-15 12:04:41 +02:00
parent cb24aa1914
commit b031d8494c

View File

@ -1942,6 +1942,10 @@ button.emoji-picker__category-button.active {
/* Before/After card
/* --------------------------------------------------------------- */
.kg-before-after-card {
margin: 0 auto;
}
.kg-before-after-card img {
max-width: none;
}