Skip to content

Commit 051f2ed

Browse files
bbpennellfarrell
andcommitted
Set height of UV to 90% of window. Remove unneeded rules, merge together jp2_imageviewer_window rules which were in different files.
Co-authored-by: Dean Farrell <[email protected]>
1 parent 40ccf53 commit 051f2ed

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

Diff for: static/css/cdrui_styles.css

+3-4
Original file line numberDiff line numberDiff line change
@@ -889,12 +889,11 @@ label {
889889
}
890890

891891
.jp2_imageviewer_window {
892+
margin: 15px auto;
892893
background-color: #F6FBFD;
893-
border: 1px solid #C8D8E0;
894-
width: 100%;
895-
height: 500px;
894+
width: 90vw;
895+
height: 90vh;
896896
display: none;
897-
box-shadow: 0 0 20px #C8D8E0 inset;
898897
}
899898

900899
.jp2_imageviewer_window.not_loaded {

Diff for: static/css/sass/cdr_ui_styles.scss

-6
Original file line numberDiff line numberDiff line change
@@ -453,12 +453,6 @@ p.no-search-results {
453453

454454
/* Work page */
455455

456-
.jp2_imageviewer_window {
457-
margin: 15px auto;
458-
max-width: 90%;
459-
}
460-
461-
462456
/* DataTables */
463457

464458
#child-files_filter {

0 commit comments

Comments
 (0)