Skip to content

Commit

Permalink
Mobile styling of RoleCard
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Oct 1, 2023
1 parent 11e50d2 commit 6e67382
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
9 changes: 7 additions & 2 deletions client/src/components/RoleCard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@

.sds--checkbox-container {
margin-right: 25px;

@media (max-width: $medium) {
margin: 0 0 20px 0;
}

}

img.provider, svg.provider {
Expand All @@ -66,7 +71,7 @@
border: 1px solid var(--sds--color--gray--300);
padding: 16px;

@media (max-width: 680px) {
@media (max-width: $medium) {
margin: 0 auto 20px 0;
}
}
Expand All @@ -79,7 +84,7 @@
margin-left: 15px;
}

@media (max-width: 680px) {
@media (max-width: $medium) {
margin: 20px auto 0 0;
}

Expand Down
7 changes: 7 additions & 0 deletions client/src/styles/mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@
.input-field, .select-field, .date-field, .sds--checkbox-container{
margin-top: 20px;
}

.sds--checkbox-container {
@media (max-width: $medium) {
margin-top: 0;
}

}
.actions {
grid-column-start: first;
margin-top: 30px;
Expand Down

0 comments on commit 6e67382

Please sign in to comment.