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

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

      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()

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD