Skip to content

Commit

Permalink
correctif(dossiers): ETQ usager, le menu d'invitation etait cassé sur…
Browse files Browse the repository at this point in the history
… mobile
  • Loading branch information
Martin committed Nov 13, 2023
1 parent 9ab918c commit 08b24ae
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ GEM
excon (0.102.0)
factory_bot (6.1.0)
activesupport (>= 5.0.0)
ffi (1.16.2)
ffi (1.16.3)
ffi-compiler (1.0.1)
ffi (>= 1.0.0)
rake
Expand Down
26 changes: 24 additions & 2 deletions app/assets/stylesheets/dossier_views.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
.header-actions {
margin-bottom: $default-spacer;
display: flex;
justify-content: flex-end;
column-gap: $default-spacer * 2;

}
}

Expand Down Expand Up @@ -54,3 +53,26 @@
}
}
}

@media (min-width: 48em) {
.dossier-container {
.header-actions {
flex-direction: row;
justify-content: flex-end;
gap: 0 $default-spacer * 2;
}
}
}

@media (max-width: 48em) {
.dossier-container .header-actions {
flex-direction: column;
justify-content: stretch;
gap: $default-spacer * 2 0;

.dropdown-button {
min-width: 100%;
white-space: normal;
}
}
}

0 comments on commit 08b24ae

Please sign in to comment.