summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryce Johnson <bryce@gitlab.com>2016-12-21 14:27:43 +0100
committerBryce Johnson <bryce@gitlab.com>2017-01-23 12:04:53 -0500
commitb19bb38bd79033b7fbd11afa02273ab3e3a2f374 (patch)
treebc77534f68eb705df13a9e29445bec2679303ba1
parent30d5e9fa54e0beacfb9b28c307543ff359f17668 (diff)
downloadgitlab-ce-b19bb38bd79033b7fbd11afa02273ab3e3a2f374.tar.gz
Force variable key cell to stay small and wrap text.
-rw-r--r--app/assets/stylesheets/pages/projects.scss13
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;
+ }
}
}