Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-214

It must be possible to instantiate an Icon with no font-size so that parent css classes will operate on it.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Neutral
    • None
    • 5.2
    • widgets
    • None

    Description

      Currently if you create an info.magnolia.ui.vaadin.icon.Icon with a constructor that does not define font size, then font size is set to a default value. This means its not possible to create an icon with the class that does not have an inline font size.

      This is a problem because we often which to declare the size of a font via css stylesheets, which is now not possible because the inline style will always win.

      (case in point is the IconFont which is rendered in the actionbar preview area. We'd like to set a css class in stylesheets but instead we set it to 100 in ActionBar.setPreview()

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              czimmermann Christopher Zimmermann
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD