Skip to content
Snippets Groups Projects

istwcms 6012 m26lebla correct image caption

Merged Martin Leblanc requested to merge feature/ISTWCMS-6012-m26lebla-correct-image-caption into 1.0.x
2 files
+ 35
9
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -5,16 +5,31 @@
width: 100%;
img{
display: block;
max-width: 100%;
}
&__figure{
display: table;
min-width: 15rem;
}
&__caption{
caption-side: bottom;
display: table-caption;
}
&__sized-image {
&--center {
align-self: center;
img {
margin: 0 auto;
}
}
&--left {
align-self: flex-start;
}
&--right {
align-self: flex-end;
img {
margin: 0 0 0 auto;
}
}
}
}
Loading