Tweak button styles

This commit is contained in:
Shadowfacts 2020-07-18 12:23:50 -04:00
parent f5dc0b8deb
commit 537fcc62f8
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5
2 changed files with 5 additions and 5 deletions

View File

@ -10,11 +10,11 @@
<h4 class="m-0"><%= stage["module_name"] %></h4>
</div>
<div class="col text-right">
<%= content_tag :button, "Move Up", [phx_click: :move_up, phx_value_index: index, disabled: index == 0] %>
<%= content_tag :button, "Move Up", [phx_click: :move_up, phx_value_index: index, disabled: index == 0, class: "btn btn-secondary btn-sm"] %>
<%= content_tag :button, "Move Down", [phx_click: :move_down, phx_value_index: index, disabled: index == length(@pipeline.stages) - 1] %>
<%= content_tag :button, "Move Down", [phx_click: :move_down, phx_value_index: index, disabled: index == length(@pipeline.stages) - 1, class: "btn btn-secondary btn-sm"] %>
<button phx-click="delete_stage" phx-value-index="<%= index %>">Delete</button>
<button phx-click="delete_stage" phx-value-index="<%= index %>" class="btn btn-danger btn-sm">Delete</button>
</div>
</div>
</div>

View File

@ -18,10 +18,10 @@
<div class="card-header container-fluid">
<div class="row">
<div class="col">
<h5 class="m-0">Rule <%= index %></h5>
<h4 class="m-0">Rule <%= index %></h4>
</div>
<div class="col text-right">
<button phx-click="delete_rule" phx-value-index="<%= index %>" phx-target="#<%= @id %>">Delete</button>
<button phx-click="delete_rule" phx-value-index="<%= index %>" phx-target="#<%= @id %>" class="btn btn-danger btn-sm">Delete</button>
</div>
</div>