Skip to content

Commit

Permalink
mobile view
Browse files Browse the repository at this point in the history
  • Loading branch information
rdrew committed Sep 16, 2021
1 parent 0bd532d commit 44c6c06
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 30 deletions.
70 changes: 44 additions & 26 deletions build/css/islandarchives.styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/css/islandarchives.styles.css.map

Large diffs are not rendered by default.

18 changes: 15 additions & 3 deletions src/sass/components/_collection-views.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//@format
1//@format


.ia_root .l-content .islandora-pdf-object {
> * {
Expand Down Expand Up @@ -129,20 +130,31 @@
.view-content {
//@include xy-grid-container;
@include xy-grid;
@include xy-grid-layout(6, '.collection-tile--container');
@include xy-grid-layout(1, '.collection-tile--container');
@include breakpoint(medium) {
@include xy-grid-layout(2, '.collection-tile--container');
}
@include breakpoint(large) {
@include xy-grid-layout(4, '.collection-tile--container');
}
@include breakpoint(xxlarge) {
@include xy-grid-layout(6, '.collection-tile--container');
}
}
}
@include card-container();
padding: 4px;
&--image {
width: 100%;
}
@include xy-gutters($gutter-position: left right bottom);
//@include xy-gutters($gutter-position: left right bottom);
//height: 250px;
&--image_container {
width: 100%;
@include card-section;
}
&--title {
@include card-section;
h4 {
font-size: 1.1rem;
}
Expand Down

0 comments on commit 44c6c06

Please sign in to comment.