Align several mixed-types buttons properly
This commit is contained in:
parent
dc1615393b
commit
07ca2989bd
2 changed files with 7 additions and 1 deletions
|
@ -18,3 +18,9 @@
|
|||
margin-bottom: -1px;
|
||||
}
|
||||
}
|
||||
|
||||
.mixed-buttons-bar .button {
|
||||
// Needed so that buttons without text
|
||||
// are ligned with those that have text
|
||||
vertical-align: top;
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
= link_to dossier.procedure.libelle.truncate_words(10), procedure_path(dossier.procedure), title: dossier.procedure.libelle
|
||||
%li
|
||||
= "Dossier nº #{dossier.id}"
|
||||
%div
|
||||
.mixed-buttons-bar
|
||||
= link_to print_dossier_path(dossier.procedure, dossier), target: "_blank", class: "button icon-only" do
|
||||
.icon.printer>
|
||||
= render partial: "new_gestionnaire/procedures/dossier_actions", locals: { procedure: dossier.procedure, dossier: dossier, dossier_is_followed: current_gestionnaire&.follow?(dossier) }
|
||||
|
|
Loading…
Reference in a new issue