Skip to content

Commit

Permalink
Improve rendering of reservation labels
Browse files Browse the repository at this point in the history
They were just put in roughly everywhere needed in dpl-react so the
different views in group-modal and reservation-list had to be adjusted.
  • Loading branch information
spaceo committed Nov 21, 2023
1 parent 66e24ba commit 2b4afa5
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
14 changes: 12 additions & 2 deletions src/stories/Library/Lists/list-materials/list-materials.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
.list-materials {
display: flex;
min-height: 72px;
min-height: 96px;
padding: 16px;
background-color: $c-text-primary-white;
justify-content: space-between;

@include breakpoint-s {
height: 96px;
padding: 16px 32px;
align-items: center;
flex-direction: row;
Expand Down Expand Up @@ -80,3 +79,14 @@
display: none;
}
}

.list-materials__arrow {
margin-left: $s-xl;
margin-right: $s-md;
cursor: pointer;
display: none;

@include breakpoint-s {
display: block;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ $list-reservation-space-desktop: 24px;
}

.list-reservation__material {
height: 100%;
min-height: 120px;
display: flex;
align-items: center;
}
Expand Down Expand Up @@ -155,10 +155,10 @@ $list-reservation-space-desktop: 24px;
.list-reservation__deadline {
display: inline-grid;
grid-row-gap: 8px;
margin-left: 88px;
margin-left: 2px;

@include breakpoint-s {
margin-left: 32px;
margin-left: 15px;
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/stories/Library/status-label/status-label.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.status-label {
height: 24px;
min-height: 28px;
padding: 0 4px;
display: inline-flex;
justify-content: center;
Expand Down

0 comments on commit 2b4afa5

Please sign in to comment.