adjust badge alignement for users dossiers

This commit is contained in:
Lisa Durand 2023-03-10 17:54:10 +01:00
parent df05c4fbc5
commit 17c8450450
3 changed files with 6 additions and 23 deletions

View file

@ -3,22 +3,6 @@
.dossier-container {
.sub-header {
.label {
float: right;
margin-left: $default-spacer;
}
.title-container {
margin-bottom: $default-spacer;
padding-left: 32px;
.icon.folder {
float: left;
margin-left: -32px;
margin-top: 3px;
}
}
h1 {
color: $black;
font-size: 22px;

View file

@ -1,7 +1,7 @@
= status_badge(dossier.state)
.title-container
%span.icon.folder
%h1= procedure_libelle(dossier.procedure)
%h1
= procedure_libelle(dossier.procedure)
= status_badge(dossier.state, 'super')
%h2
= t('views.users.dossiers.show.header.dossier_number', dossier_id: dossier.id)
= t('views.users.dossiers.show.header.created_date', date_du_dossier: I18n.l(dossier.created_at))

View file

@ -1,10 +1,9 @@
.sub-header
.container
= status_badge(dossier.state)
.title-container
%span.icon.folder
%h1= dossier.procedure.libelle
%h1
= dossier.procedure.libelle
= status_badge(dossier.state, 'super')
%h2
= t('views.users.dossiers.show.header.dossier_number', dossier_id: dossier.id)
- if dossier.depose_at.present?