This stylesheet uses a lot of non-scoped CSS rules like this one:

* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

*:before,
*:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

This for example makes ALL the DOM elements use the "box-sizing: border-box;" rule even if they are *not* part of a modal.

It obviously breaks a lot of styles from other modules and the core - the CKEditor config page to begin with.

CommentFileSizeAuthor
#2 modal_page-modules-styles-3013004.patch413 bytesthalles

Comments

Eric MORAND created an issue. See original summary.

thalles’s picture

Assigned: Unassigned » thalles
Status: Active » Needs review
Issue tags: +ciandt-contrib, +#ciandt-contrib
StatusFileSize
new413 bytes

Follow the patch!

  • Thalles committed 8ac24ea on 8.x-2.x
    Issue #3013004 by Thalles, Eric MORAND: Some CSS rules are not scoped...
thalles’s picture

Status: Needs review » Fixed

@Eric MORAND, please test.

renatog’s picture

Issue summary: View changes
renatog’s picture

#2 really makes sense.

Thank you very much Thalles.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.