Skip to content
Snippets Groups Projects
Commit 3be626a4 authored by LucasC's avatar LucasC Committed by Michael Hamann
Browse files

XWIKI-22800: Message boxes content doesn't extend to the right of the box (#3811)

* Cleaned up selectors. With the new improved DOM, there's no need for selectors specific to CKEditor
* Added `flex-grow` on the content+title+image element. This way, whatever is in it, it will use all the available space in the macro.
* Improved code structure

(cherry picked from commit e5af673a)
parent 2595e4ae
No related branches found
No related tags found
No related merge requests found
......@@ -44,15 +44,15 @@ div.successmessage, div.errormessage, div.warningmessage, div.infomessage {
max-width: unset;
}
& > div > .box-title,
& > div > .xwiki-metadata-container[data-xwiki-parameter-name="title"] {
font-weight: bold;
}
// Main message content
& > div > p,
& > div > [data-cke-display-name="$content"] {
// Main message block
& > div {
margin: 0;
flex-grow: 1;
// By default the title is bold.
& > .box-title {
font-weight: bold;
}
}
}
......
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