Skip to content

Commit

Permalink
Make 100vw iiif style specific to vertical layout. #2170
Browse files Browse the repository at this point in the history
  • Loading branch information
kimisgold committed Apr 8, 2024
1 parent 2c1e292 commit 4c0eedd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion application/asset/css/page-blocks.css

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

5 changes: 4 additions & 1 deletion application/asset/sass/page-blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,10 @@
align-items: center;
}

.media-embed.layout-vertical .iiif_presentation {
width: 100vw;
}

.media-embed.layout-horizontal.multiple-attachments .item.resource {
margin-bottom: 0;
}
Expand All @@ -199,7 +203,6 @@
}

.iiif_presentation {
width: 100vw;
max-width: 100%;
}

Expand Down

0 comments on commit 4c0eedd

Please sign in to comment.