Merge pull request #900 from sgmap/fix-icon-only-buttons
Fix icon only buttons
This commit is contained in:
commit
2d2929e5f6
3 changed files with 13 additions and 3 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;
|
||||
}
|
||||
|
|
|
@ -93,10 +93,14 @@
|
|||
}
|
||||
}
|
||||
|
||||
&.icon-only .icon {
|
||||
&.icon-only {
|
||||
padding: 9px 16px;
|
||||
|
||||
.icon {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown-content {
|
||||
border: 1px solid $border-grey;
|
||||
|
|
|
@ -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…
Add table
Reference in a new issue