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

ISTWCMS-6038: Add css to the ck editor file for the image alignment

parent f59d5b52
No related branches found
No related tags found
1 merge request!102ISTWCMS-6038: Add css to allow embeded images to display correctly
...@@ -151,3 +151,27 @@ mark { ...@@ -151,3 +151,27 @@ mark {
.digits-6 { .digits-6 {
padding-inline-start: 5rem; padding-inline-start: 5rem;
} }
.media.align-left img {
margin: 0 1rem 0.5rem 0;
}
.media.align-center img {
margin: 0 auto 0.5rem auto;
}
.media.align-right img {
margin: 0 0 0.5rem 1rem;
}
/* CLEAN UP THE EDIT MEDIA BUTTON PLACEMENT */
drupal-media .media-library-item__edit {
bottom:10%;
left: 50%;
position: absolute;
text-align:center;
transform: translateX(-50%) ;
width: 5rem;
}
/* CLEAN UP THE DRAG HANDLES PLACEMENT */
.cke_widget_drag_handler_container{
background-color: #fff !important;
}
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