diff options
author | Bryce Johnson <bryce@gitlab.com> | 2016-12-21 16:27:43 +0300 |
---|---|---|
committer | Bryce Johnson <bryce@gitlab.com> | 2017-01-23 20:04:53 +0300 |
commit | b19bb38bd79033b7fbd11afa02273ab3e3a2f374 (patch) | |
tree | bc77534f68eb705df13a9e29445bec2679303ba1 | |
parent | 30d5e9fa54e0beacfb9b28c307543ff359f17668 (diff) |
Force variable key cell to stay small and wrap text.
-rw-r--r-- | app/assets/stylesheets/pages/projects.scss | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/app/assets/stylesheets/pages/projects.scss b/app/assets/stylesheets/pages/projects.scss index cd0839e58ea..aa59f7d3f2e 100644 --- a/app/assets/stylesheets/pages/projects.scss +++ b/app/assets/stylesheets/pages/projects.scss @@ -930,7 +930,18 @@ pre.light-well { table-layout: fixed; .variable-key { - width: 30%; + width: 300px; + max-width: 300px; + overflow: hidden; + word-wrap: break-word; + + // override bootstrap + white-space: normal!important; + + @media (max-width: $screen-sm-max) { + width: 150px; + max-width: 150px; + } } } |