Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-3338

Clean up padding on main element

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0-alpha1, 3.1.0
    • Component/s: frontend
    • Labels:
      None
    • PM Priority:
      5

      Description

      We currently have a padding on the main element: https://github.com/camunda/camunda-optimize/blob/083cea4b76a188fe210c3bf5eef62c3fa0a20635/client/src/style.scss#L38

      We added this for the Reports and Dashboards and it is currently used for every page where we display an entity (reports, dashboards, event based processes).

      All other pages need to work around this padding because they do not use it (e.g. the Collection page or the Analysis page). This lead to a couple of CSS hacks, making the CSS hard to understand and maintain.

      We should remove the padding from the main, add it to the components that need it and clean up the hacks from the other components

        mgm-controller-panel

        This is the controller panel for Smart Panels app

          Attachments

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              sebastian.stamm Sebastian Stamm
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Salesforce