Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-111197

<liferay-ui:tabs /> contain opinionated bootstrap utility classes that requires !important to override

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: ~[Archived] UI Taglibs
    • Labels:
      None

      Description

      On dxp 7.2, <liferay-ui:tabs /> contain opinionated bootstrap utility classes such as `mb-3` and `mb-lg-4` that have the `!important` flag. In order to customize the margin value for a specific design, one would have to also use the `!important ` flag to override the existing utility classes. It makes the css harder to maintain. Perhaps the taglib can be written such that if a custom cssClass is passed in, then the bootstrap utility classes will not render to give taglib user more flexibility to customize.

      https://github.com/liferay/liferay-portal-ee/blob/7.2.x/portal-web/docroot/html/taglib/ui/tabs/start.jsp#L135

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            rebecca.dai Rebecca Dai
            Recent user:
            Rebecca Dai
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package