Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFatih Acet <acetfatih@gmail.com>2017-01-25 00:51:23 +0300
committerFatih Acet <acetfatih@gmail.com>2017-01-25 00:51:23 +0300
commit21f53806ee19ef0f9b302a8828f00a6be51537b3 (patch)
tree9f1d25298505311fbb8f14e15ed885dd5075c1e2
parent665dd3875285a63c978cb5621a2aaaa42ecdd453 (diff)
parent50ae00dc35174a1a99c96990a0d6adb981675a07 (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
-rw-r--r--app/assets/stylesheets/pages/projects.scss26
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;
+ }
}
}