Skip to content

Commit

Permalink
Added missing lcale
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Oct 7, 2023
1 parent f14ce08 commit c1a0e8b
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 12 deletions.
4 changes: 0 additions & 4 deletions client/src/components/RoleCard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@
margin-right: 25px;
cursor: pointer;

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

input[type=checkbox]:not(:checked) + label {
cursor: pointer;
background-color: white;
Expand Down
3 changes: 3 additions & 0 deletions client/src/components/UnitHeader.scss
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@
gap: 20px;
margin-left: 25px;

@media (max-width: $medium) {
margin-top: 20px;
}
button {
width: 100%;
min-width: 150px;
Expand Down
3 changes: 2 additions & 1 deletion client/src/locale/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@ const en = {
statuses: {
all: "All ({{nbr}})",
open: "Open",
accepted: "Accepted"
accepted: "Accepted",
expired: "Expired"
}
},
forms: {
Expand Down
3 changes: 2 additions & 1 deletion client/src/locale/nl.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@ const nl = {
statuses: {
all: "All ({{nbr}})",
open: "Open",
accepted: "Accepted"
accepted: "Geaccepteerd",
expired: "Verlopen"
}
},
forms: {
Expand Down
13 changes: 7 additions & 6 deletions client/src/styles/mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,21 @@
display: grid;
grid-template-columns: [first] 1fr [second] 1fr;

.input-field, .select-field, .date-field, .error-indication, .sds--checkbox-container {
.input-field, .select-field, .date-field, .error-indication, .sds--checkbox-container {
grid-column-start: first;
}

.input-field, .select-field, .date-field, .sds--checkbox-container{
.input-field, .select-field, .date-field, .sds--checkbox-container {
margin-top: 20px;
}

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

}

.actions {
grid-column-start: first;
margin-top: 30px;
Expand All @@ -56,7 +57,7 @@
margin-left: 25px;
}

button.sds--btn--delete, button.sds--btn--delete--secondary {
button.sds--btn--delete, button.sds--btn--delete--secondary {
margin-right: auto;
margin-left: 0;
}
Expand Down

0 comments on commit c1a0e8b

Please sign in to comment.