Skip to content

Commit

Permalink
fix: remove scroll-snap from thumbnail select
Browse files Browse the repository at this point in the history
in chrome this causes the container to immediately scroll to the bottom, which then starts loading all of the thumbnails.
  • Loading branch information
alycejenni committed Nov 22, 2023
1 parent 15bba00 commit 8ed0a4b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ckanext/nhm/theme/assets/less/beetle-iiif.less
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ button.btn[disabled].biiif-button {
flex-grow: 1;
text-align: center;
padding: 10px;
scroll-snap-align: start;
display: grid;
grid-template-rows: auto 1fr;
justify-items: center;
Expand Down Expand Up @@ -181,14 +180,9 @@ button.btn[disabled].biiif-button {

.biiif-list-track-container {
height: 500px;

& tr {
scroll-snap-align: start;
}
}

.record-select-view {
overflow-y: auto;
scroll-snap-type: y proximity;
margin-top: 10px;
}

0 comments on commit 8ed0a4b

Please sign in to comment.