Open ebruchez opened 7 years ago
The reason we want an id is that Liferay uses an id. We could hack around by producing:
@media (max-width: 980px) {
#content .orbeon-portlet-div .row {
margin-left: 0;
margin-right: 0;
}
#content .orbeon-portlet-div .row .span12 {
margin-left: 0;
margin-right: 0;
}
}
as #content
is a Liferay id which must not be rewritten.
This for example doesn't work:
That's because
rewriteCSS()
matches the outer selector and block but then doesn't identify the nested selector and block.Needed for #2843.