Commit f075e6d2 authored by Mike Greiling's avatar Mike Greiling

remove niceScroll from job trigger variables list

parent db271a6b
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
$(function() { $(function() {
$('.reveal-variables').off('click').on('click', function() { $('.reveal-variables').off('click').on('click', function() {
$('.js-build').toggle().niceScroll(); $('.js-build-variables').toggle();
$(this).hide(); $(this).hide();
}); });
}); });
...@@ -259,7 +259,15 @@ ...@@ -259,7 +259,15 @@
padding: 16px 0; padding: 16px 0;
} }
.trigger-build-variables {
margin: 0;
overflow-x: auto;
-ms-overflow-style: scrollbar;
-webkit-overflow-scrolling: touch;
}
.trigger-build-variable { .trigger-build-variable {
font-weight: normal;
color: $code-color; color: $code-color;
} }
......
...@@ -49,11 +49,10 @@ ...@@ -49,11 +49,10 @@
%p %p
%button.btn.group.btn-group-justified.reveal-variables Reveal Variables %button.btn.group.btn-group-justified.reveal-variables Reveal Variables
%dl.js-build-variables.trigger-build-variables.hide
- @build.trigger_request.variables.each do |key, value| - @build.trigger_request.variables.each do |key, value|
.hide.js-build %dt.js-build-variable.trigger-build-variable= key
.js-build-variable.trigger-build-variable= key %dd.js-build-value.trigger-build-value= value
.js-build-value.trigger-build-value= value
%div{ class: (@build.pipeline.stages_count > 1 ? "block" : "block-last") } %div{ class: (@build.pipeline.stages_count > 1 ? "block" : "block-last") }
%p %p
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment