Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
Merge pull request danskernesdigitalebibliotek#210 from itk-dev/featu…
Browse files Browse the repository at this point in the history
…re/loan-list-testfeedback

Feature/Loan list additions
  • Loading branch information
jeppekroghitk authored Mar 27, 2023
2 parents 44ae1cc + 69e35e6 commit ceaa97a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/stories/Library/Modals/modal-details/modal-details.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ $MODAL_DETAILS_CONTAINER_WIDTH: 1000px;

.modal-details__container {
width: 100%;
overflow: scroll;
overflow: auto;
max-width: 100%;
padding-bottom: $s-2xl;

@include breakpoint-s {
margin: 0 45px;
margin: 0;
padding-bottom: 0;
}
}
Expand Down Expand Up @@ -56,8 +56,8 @@ $MODAL_DETAILS_CONTAINER_WIDTH: 1000px;
margin-bottom: 16px;
}

/*
We disable stylelint here since -webkit-box
/*
We disable stylelint here since -webkit-box
uses ellipsis for truncating which we need.
https://caniuse.com/?search=line-clamp
*/
Expand Down
4 changes: 4 additions & 0 deletions src/stories/Library/Modals/modal-loan/modal-loan.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ $MODAL_LOAN_CONTAINER_WIDTH: 1000px;
grid-row-gap: 8px;
}

.modal-loan__list-materials--bottom-buttons-visible {
padding-bottom: #{$s-75}px;
}

.modal-loan__buttons {
display: flex;
grid-gap: 24px;
Expand Down
2 changes: 1 addition & 1 deletion src/stories/Library/Modals/modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
display: none;
transition: opacity 0.3s;
height: 100vh;
overflow: scroll;
overflow: auto;

&__screen-reader-description {
@include hide-visually;
Expand Down
1 change: 1 addition & 0 deletions src/stories/Library/spacing/spacing.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ $s-32: 32;
$s-35: 35;
$s-48: 48;
$s-64: 64;
$s-75: 75;
$s-80: 80;
$s-96: 96;
$s-112: 112;
Expand Down

0 comments on commit ceaa97a

Please sign in to comment.