Css: add .width-100 utility class

This commit is contained in:
Simon Lehericey 2017-07-24 10:01:53 +02:00 committed by Mathieu Magnin
parent 877f64599d
commit 3b7244675d
4 changed files with 6 additions and 6 deletions
app
assets/stylesheets/new_design
views/new_gestionnaire

View file

@ -9,10 +9,6 @@
margin-bottom: 2 * $default-padding;
}
.right {
width: 100%;
}
.person-icon {
margin-right: $default-spacer;
}

View file

@ -21,3 +21,7 @@
.hidden {
display: none;
}
.width-100 {
width: 100%;
}

View file

@ -6,7 +6,7 @@
%li
= render partial: 'commentaire_icon', locals: { commentaire: commentaire, current_gestionnaire: current_gestionnaire }
.right
.width-100
%h2
%span.mail
= render partial: 'commentaire_issuer', locals: { commentaire: commentaire, current_gestionnaire: current_gestionnaire }

View file

@ -4,7 +4,7 @@
- if @procedure.logo.present?
= image_tag @procedure.logo, height: 40, class: 'procedure-logo'
.right
.width-100
%h1= @procedure.libelle
%ul.dossiers-categories
%li{ class: (@statut == 'a-suivre') ? 'active' : nil }>