Skip to content
Snippets Groups Projects
Commit d42148b4 authored by Martin Leblanc's avatar Martin Leblanc Committed by Eric Bremner
Browse files

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

parent 5be9ceb7
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