Skip to content
Snippets Groups Projects
Commit ed5a18ef authored by Eric Bremner's avatar Eric Bremner
Browse files

Merge branch 'features/ISTWCMS-6038-m26lebla-padding-margin-copy-text-images' into '1.0.x'

ISTWCMS-6038: Add css to copy-text embeded media - images

See merge request !102
parents 5be9ceb7 d42148b4
No related branches found
No related tags found
1 merge request!102ISTWCMS-6038: Add css to copy-text embeded media - images
......@@ -8,24 +8,23 @@
}
.media {
&.align-left {
padding-right: var(--size-2);
img {
margin: 0 var(--size-2) 0 0;
}
}
&.align-center {
padding-left: 0;
padding-right: 0;
text-align: center;
img {
display: block;
margin: 0 auto;
img{
margin: 0 auto var(--size-1) auto;
}
}
&.align-right {
padding-left: var(--size-2);
img{
margin: 0 0 0 var(--size-2);
}
}
}
......
.block-uw-cbl-image{
.block-uw-cbl-image {
.uw-image {
display: flex;
flex-flow: column;
width: 100%;
img{
img {
display: block;
max-width: 100%;
}
&__figure{
&__figure {
display: table;
min-width: 9rem;
}
&__caption{
&__caption {
caption-side: bottom;
display: table-caption;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment