Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-3908

vertical toolbar has sometimes <br> between items

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 8.5.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      vertical toolbar generates different markup:

      • initially, items are separated by <br> tags
      • if items are added dynamically, no <br> are used

      Shouldn't style be defined by CSS instead via <br>? Because of these "random" <br> tags, its hard to use proper CSS, e.g.
      {{.z-toolbar-vertical .z-separator:first-child

      { display:none; }

      }}

      Following js codesnippet does cause the issue:
      {{// ZK-1706: the width of empty space does not always equal 3px in ie9, ie10
      var space = 'vertical' != this.getOrient() ? (zk.ie9 ? '<span></span>' : '') : '<br/>';}}

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            fse fse
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: