Commit 8f838b46 authored by Filipa Lacerda's avatar Filipa Lacerda Committed by Jacob Schatz

Improve CSS to handle not having actions

parent 0643a0fd
...@@ -155,7 +155,7 @@ module.exports = { ...@@ -155,7 +155,7 @@ module.exports = {
</div> </div>
</section> </section>
<section class="deploy-board-actions"> <section class="deploy-board-actions" v-if="deployBoardData.rollback_url || deployBoardData.abort_url">
<a class="btn" <a class="btn"
data-method="post" data-method="post"
rel="nofollow" rel="nofollow"
......
...@@ -158,7 +158,7 @@ ...@@ -158,7 +158,7 @@
width: 70px; width: 70px;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: center; justify-content: center;
margin: 20px 0 20px 10px; margin: 20px 0 20px 5px;
> span { > span {
text-align: center; text-align: center;
...@@ -175,7 +175,7 @@ ...@@ -175,7 +175,7 @@
.deploy-board-instances { .deploy-board-instances {
order: 2; order: 2;
width: 75%; margin-left: 20px;
.text { .text {
color: $gl-text-color-secondary; color: $gl-text-color-secondary;
...@@ -193,6 +193,8 @@ ...@@ -193,6 +193,8 @@
.deploy-board-actions { .deploy-board-actions {
order: 3; order: 3;
align-self: center; align-self: center;
min-width: 150px;
margin-left: 10px;
} }
&.deploy-board-error-message { &.deploy-board-error-message {
......
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