Merge pull request #8755 from demarches-simplifiees/adjust-badge-for-usager

[design] Corriger l'alignement des badges du dossier côté usager
This commit is contained in:
Lisa Durand 2023-03-14 13:11:57 +00:00 committed by GitHub
commit ff10a03ffe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 41 deletions

View file

@ -3,22 +3,6 @@
.dossier-container { .dossier-container {
.sub-header { .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 { h1 {
color: $black; color: $black;
font-size: 22px; font-size: 22px;

View file

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

View file

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