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

View file

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