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 {
.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,6 @@
= 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,8 @@
.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?