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 @@ ...@@ -8,24 +8,23 @@
} }
.media { .media {
&.align-left { &.align-left {
padding-right: var(--size-2); img {
margin: 0 var(--size-2) 0 0;
}
} }
&.align-center { &.align-center {
padding-left: 0; padding-left: 0;
padding-right: 0; padding-right: 0;
text-align: center; text-align: center;
img{
img { margin: 0 auto var(--size-1) auto;
display: block;
margin: 0 auto;
} }
} }
&.align-right { &.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 { .uw-image {
display: flex; display: flex;
flex-flow: column; flex-flow: column;
width: 100%; width: 100%;
img{ img {
display: block; display: block;
max-width: 100%; max-width: 100%;
} }
&__figure{ &__figure {
display: table; display: table;
min-width: 9rem; min-width: 9rem;
} }
&__caption{ &__caption {
caption-side: bottom; caption-side: bottom;
display: table-caption; 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