BigW Consortium Gitlab

Commit 6f0167af by Phil Hughes Committed by James Edwards-Jones

Merge branch '35035-sidebar-job-spaces' into 'master'

Fix spacing in sidebar Closes #35035 See merge request !12844
parent 9dfe9459
...@@ -244,6 +244,10 @@ ...@@ -244,6 +244,10 @@
} }
} }
.block-last {
padding: 16px 0;
}
.trigger-build-variable { .trigger-build-variable {
color: $code-color; color: $code-color;
} }
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#js-details-block-vue #js-details-block-vue
- if can?(current_user, :read_build, @project) && (@build.artifacts? || @build.artifacts_expired?) - if can?(current_user, :read_build, @project) && (@build.artifacts? || @build.artifacts_expired?)
.block{ class: ("block-first" if !@build.coverage) } .block
.title .title
Job artifacts Job artifacts
- if @build.artifacts_expired? - if @build.artifacts_expired?
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
Browse Browse
- if @build.trigger_request - if @build.trigger_request
.build-widget .build-widget.block
%h4.title %h4.title
Trigger Trigger
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
.js-build-variable.trigger-build-variable= key .js-build-variable.trigger-build-variable= key
.js-build-value.trigger-build-value= value .js-build-value.trigger-build-value= value
.block %div{ class: (@build.pipeline.stages_count > 1 ? "block" : "block-last") }
%p %p
Commit Commit
= link_to @build.pipeline.short_sha, project_commit_path(@project, @build.pipeline.sha), class: 'commit-sha link-commit' = link_to @build.pipeline.short_sha, project_commit_path(@project, @build.pipeline.sha), class: 'commit-sha link-commit'
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
- if @build.pipeline.stages_count > 1 - if @build.pipeline.stages_count > 1
.dropdown.build-dropdown .dropdown.build-dropdown
.title %div
%span{ class: "ci-status-icon-#{@build.pipeline.status}" } %span{ class: "ci-status-icon-#{@build.pipeline.status}" }
= ci_icon_for_status(@build.pipeline.status) = ci_icon_for_status(@build.pipeline.status)
Pipeline Pipeline
......
---
title: Fix vertical space in job details sidebar
merge_request:
author:
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