Skip to content

Commit ceaa97a

Browse files
Merge pull request danskernesdigitalebibliotek#210 from itk-dev/feature/loan-list-testfeedback
Feature/Loan list additions
2 parents 44ae1cc + 69e35e6 commit ceaa97a

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

src/stories/Library/Modals/modal-details/modal-details.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ $MODAL_DETAILS_CONTAINER_WIDTH: 1000px;
1212

1313
.modal-details__container {
1414
width: 100%;
15-
overflow: scroll;
15+
overflow: auto;
1616
max-width: 100%;
1717
padding-bottom: $s-2xl;
1818

1919
@include breakpoint-s {
20-
margin: 0 45px;
20+
margin: 0;
2121
padding-bottom: 0;
2222
}
2323
}
@@ -56,8 +56,8 @@ $MODAL_DETAILS_CONTAINER_WIDTH: 1000px;
5656
margin-bottom: 16px;
5757
}
5858

59-
/*
60-
We disable stylelint here since -webkit-box
59+
/*
60+
We disable stylelint here since -webkit-box
6161
uses ellipsis for truncating which we need.
6262
https://caniuse.com/?search=line-clamp
6363
*/

src/stories/Library/Modals/modal-loan/modal-loan.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ $MODAL_LOAN_CONTAINER_WIDTH: 1000px;
3636
grid-row-gap: 8px;
3737
}
3838

39+
.modal-loan__list-materials--bottom-buttons-visible {
40+
padding-bottom: #{$s-75}px;
41+
}
42+
3943
.modal-loan__buttons {
4044
display: flex;
4145
grid-gap: 24px;

src/stories/Library/Modals/modal.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
display: none;
2121
transition: opacity 0.3s;
2222
height: 100vh;
23-
overflow: scroll;
23+
overflow: auto;
2424

2525
&__screen-reader-description {
2626
@include hide-visually;

src/stories/Library/spacing/spacing.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ $s-32: 32;
77
$s-35: 35;
88
$s-48: 48;
99
$s-64: 64;
10+
$s-75: 75;
1011
$s-80: 80;
1112
$s-96: 96;
1213
$s-112: 112;

0 commit comments

Comments
 (0)