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

line-height displaces input-based component button after ZK-4475

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 9.0.1
    • Freshly, 9.0.1
    • Components
    • Security Level: Jimmy

      Steps to Reproduce

      Run fiddle code with ZK 9.0.1.FL.20200330 with breeze theme

      https://zkfiddle.org/sample/2j3sh9q/1-line-height-breaks-button-alignement

      Current Result

      button offset by 1px up compared to input

      Expected Result

      button not offset

      Debug Information

      caused by line-height css rule on ancestor

      Workaround

      <style>
          .z-combobox, .z-bandbox, .z-datebox, .z-timebox, .z-spinner, .z-doublespinner{
              line-height: initial;
          }
      </style>
      

       

            DevChu DevChu
            MDuchemin MDuchemin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: