April 11, 2020
Estimated Post Reading Time ~ < 1 Min

Foundation Breaks Design Dialogs

Problem: The popular CSS library Foundation causes conflicts with some of the author mode dialog widgets. Here is an example of the broken checkboxes in a parsys design dialog after foundation.css is loaded:
design_dialog_foundation_fubar
Solution: Add a one-line css rule to fix it.

Within your project’s etc/design css files, add the following:

#CQ label
{
display: inline;
}

After a page refresh, the formerly-broken dialog will be back to normal:
design_dialog_foundation_fixed1

Summary: Libraries like Zurb Foundation are great for CQ projects, but can cause minor issues with the automatic author controls that AEM injects into pages. Most of these can be fixed with some quick CSS hacks.

Source: http://aem.matelli.org/foundation-breaks-design-dialogs/

aem4beginner.blogspot


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.

image

Ad Blocker Detected :(

Please consider supporting us by disabling your ad blocker.

Please Disable your adblocker and Refresh the page to view the site content.