diff options
author | Fatih Acet <acetfatih@gmail.com> | 2017-01-25 00:51:23 +0300 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2017-01-25 00:51:23 +0300 |
commit | 21f53806ee19ef0f9b302a8828f00a6be51537b3 (patch) | |
tree | 9f1d25298505311fbb8f14e15ed885dd5075c1e2 /app | |
parent | 665dd3875285a63c978cb5621a2aaaa42ecdd453 (diff) | |
parent | 50ae00dc35174a1a99c96990a0d6adb981675a07 (diff) |
Merge branch '25780-reveal-variables-button-may-overrun-width-of-screen' into 'master'
Resolve "Reveal Variables button may overrun width of screen"
Closes #25780
See merge request !8221
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/stylesheets/pages/projects.scss | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/app/assets/stylesheets/pages/projects.scss b/app/assets/stylesheets/pages/projects.scss index cd0839e58ea..1b0bf4554e6 100644 --- a/app/assets/stylesheets/pages/projects.scss +++ b/app/assets/stylesheets/pages/projects.scss @@ -929,8 +929,32 @@ pre.light-well { .variables-table { table-layout: fixed; + &.table-responsive { + border: none; + } + .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; + } + } + + .variable-value { + @media(max-width: $screen-xs-max) { + width: 150px; + max-width: 150px; + overflow: hidden; + word-wrap: break-word; + } } } |