Skip to content

Commit 491d53e

Browse files
author
Jane
committed
fix UV container cutting off at full screen
1 parent b932417 commit 491d53e

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

sass/includes/_iiif-viewer.scss

+15-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
#uv {
22
width: 100%;
3-
height: 688px;
3+
min-height: 688px;
44
font-family: $font__open-sans;
55
display: block;
6-
margin-bottom: 100px;
6+
position: relative;
7+
overflow: hidden;
8+
margin-bottom: 3rem;
79

810
> div {
911
background-color: transparent;
@@ -86,8 +88,7 @@
8688

8789
.headerPanel {
8890
background-color: transparent;
89-
height: auto;
90-
padding: 1rem 0;
91+
height: 50px;
9192

9293
.search {
9394
margin-top: 0;
@@ -291,7 +292,6 @@
291292
.mobileFooterPanel {
292293
background-color: transparent;
293294
height: auto;
294-
margin-bottom: 1rem;
295295
position: relative;
296296

297297
.options {
@@ -309,8 +309,8 @@
309309
}
310310

311311
.footerPanel {
312-
padding: 1rem 0;
313-
margin: 0;
312+
height: 55px;
313+
margin: 0.5rem 0;
314314
}
315315

316316
// Icons
@@ -395,6 +395,14 @@
395395
width: 30px;
396396
}
397397

398+
.uv-icon-exit-fullscreen {
399+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 -960 960 960' width='24'%3E%3Cpath d='M147.538-120 120-147.538 412.461-440H200v-40h280v280h-40v-212.461L147.538-120ZM480-480v-280h40v212.461L812.462-840 840-812.462 547.539-520H760v40H480Z'/%3E%3C/svg%3E");
400+
background-position: center;
401+
background-size: 25px 25px;
402+
height: 30px;
403+
width: 30px;
404+
}
405+
398406
.uv-icon-zoom-in {
399407
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 -960 960 960' width='20'%3E%3Cpath d='M464-464H280v-32h184v-184h32v184h184v32H496v184h-32v-184Z'/%3E%3C/svg%3E") !important;
400408
background-position: center;

0 commit comments

Comments
 (0)