Skip to content

Commit

Permalink
IBX-4002: Changed styles to show scroll on the correct element (#623)
Browse files Browse the repository at this point in the history
Co-authored-by: Mateusz Dębiński <mateusz.debinski@ibexa.co>
  • Loading branch information
mateuszdebinski and Mateusz Dębiński committed Oct 28, 2022
1 parent 5a2150c commit 290fe4f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/bundle/Resources/public/scss/_grid-view.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
display: flex;
flex-wrap: wrap;
padding-top: calculateRem(24px);
margin: 0 calculateRem(-14px);
margin: 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
&__items-wrapper {
padding: 0 calculateRem(16px) calculateRem(16px);
overflow: auto;
max-height: calc(100% - #{calculateRem(30px)});
}

.ibexa-grid-view-item {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
background-color: $ibexa-color-dark;

.c-grid {
overflow-x: hidden;
overflow-y: auto;
overflow: hidden;

&__items-wrapper {
.c-thumbnail {
Expand Down

0 comments on commit 290fe4f

Please sign in to comment.