Ticket template: fix button alignment when the sidebar is small

This commit is contained in:
Felix Niklas 2017-08-28 22:54:45 +02:00
parent f65354f0b9
commit a79301e469
2 changed files with 12 additions and 4 deletions

View file

@ -4,8 +4,10 @@
<label class="" for="template_name"><%- @T('Select Template') %></label>
<div id="form-template"></div>
</div>
<button type="submit" class="btn" data-type="template_delete"><%- @T('Delete') %></button>
<button type="submit" class="btn" data-type="template_select"><%- @T('Apply') %></button>
<div class="horizontal">
<button type="submit" class="btn btn--action" data-type="template_delete"><%- @T('Delete') %></button>
<button type="submit" class="btn btn--action align-right" data-type="template_select"><%- @T('Apply') %></button>
</div>
</form>
<hr>
<form>
@ -13,7 +15,9 @@
<label class="" for="template_name"><%- @T('Save as template') %></label>
<input type="text" name="template_name" id="template_name" class="form-control" value="<%= @template.name %>"/>
</div>
<button type="submit" class="btn" data-type="template_save"><%- @T('Save') %></button>
<div class="horizontal">
<button type="submit" class="btn btn--action align-right" data-type="template_save"><%- @T('Save') %></button>
</div>
</form>
</div>

View file

@ -5879,6 +5879,10 @@ footer {
padding-bottom: 14px;
}
.templates-manage fieldset {
margin: 0;
}
.template-attributes {
margin: 17px 0 19px;
}