Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-2350 New Form UI
  3. OPT-2613

Line breaking for labelled elements is not done correctly

XMLWordPrintable

    • Icon: Bug Part Bug Part
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 2.6.0
    • None
    • frontend
    • None

      • given:
        • I have an element with a form ui, form group and a labeled element (e.g. a switch), e.g. filter for undefined variables
        • the dedicated label is longer then the horizontal space
      • when:
        • I go to the dedicated page
      • then:
      • expected:
        • the line is just wrapped within the labeled space

      Hint:
      I could already solve the problem once, using the following css for the FilterForUndefined component:

      .FilterForUndefined {
        margin-top: 20px;
      }
      
      .FilterForUndefined_Label {
        display: flex;
        flex-direction: row;
      }
      
      .FilterForUndefined_Switch {
        margin-right: 10px;
      }
      
      .FilterForUndefined_Text {
        line-height: 15px;
      }
      
      

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              johannes.heinemann Johannes
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: