From 4f5c0c07d85328e46fddc5efb926f1da6948d73d Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Thu, 12 Jan 2017 12:24:33 -0500 Subject: Update buttons to be accessible --- .../vue_pipelines_index/pipeline_actions.js.es6 | 40 +++++++++++++--------- .../javascripts/vue_pipelines_index/stage.js.es6 | 8 ++--- app/assets/stylesheets/framework/dropdowns.scss | 3 +- app/assets/stylesheets/pages/pipelines.scss | 11 ++++++ 4 files changed, 41 insertions(+), 21 deletions(-) diff --git a/app/assets/javascripts/vue_pipelines_index/pipeline_actions.js.es6 b/app/assets/javascripts/vue_pipelines_index/pipeline_actions.js.es6 index ad5cb30cc42..af5045e8308 100644 --- a/app/assets/javascripts/vue_pipelines_index/pipeline_actions.js.es6 +++ b/app/assets/javascripts/vue_pipelines_index/pipeline_actions.js.es6 @@ -22,47 +22,52 @@
- - - - + + +
diff --git a/app/assets/stylesheets/framework/dropdowns.scss b/app/assets/stylesheets/framework/dropdowns.scss index 755eddefa42..adb14dc7e1c 100644 --- a/app/assets/stylesheets/framework/dropdowns.scss +++ b/app/assets/stylesheets/framework/dropdowns.scss @@ -172,7 +172,8 @@ background-color: $dropdown-divider-color; } - a { + a, + button { display: block; position: relative; padding: 5px 8px; diff --git a/app/assets/stylesheets/pages/pipelines.scss b/app/assets/stylesheets/pages/pipelines.scss index 8861315d776..2eddab41b3b 100644 --- a/app/assets/stylesheets/pages/pipelines.scss +++ b/app/assets/stylesheets/pages/pipelines.scss @@ -287,6 +287,10 @@ } } } + + .tooltip { + white-space: nowrap; + } } .build-link { @@ -312,6 +316,13 @@ border-bottom: none; } +.pipeline-actions-dropdown-button { + width: 100%; + background: none; + border: 0; + text-align: left; +} + .tab-pane { &.pipelines { .ci-table { -- cgit v1.2.1