Skip to content

Used fixed widths and ellipsis for variable table styles

username-removed-408230 requested to merge variable-table-styles into master

The project variables UI was moved from its own page to the CI/CD settings page. Because there are some differences in the overall page layout, the space allotted for the variables table is smaller, so the responsive styling for this table wasn't being applied soon enough.

This is a tricky problem because we allow for keys and values of highly variable length, yet we try to style the table for both revealed and shown values. In this MR, I switch to using ellipsis to contain the length of the values and the keys, thus normalizing the layout across states.

2017-04-17_13.03.13

2017-04-17_13.11.55

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/25780 again

cc: @jschatz1

Merge request reports