Skip to content

Commit 6077c4f

Browse files
authored
Fix tooltips becoming buried in Mirador viewer (#66)
1 parent 41acc85 commit 6077c4f

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

css/mirador.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,12 @@
22
height: 1200px;
33
position: relative;
44
}
5+
/* Fixes for Tooltips is underneath parent frame */
6+
.mirador1 .MuiTooltip-popper {
7+
z-index: 9999 !important;
8+
left: 20px !important;
9+
}
10+
.mirador1 {
11+
overflow: visible !important;
12+
}
13+

islandora_mirador.module

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ function template_preprocess_mirador(&$variables) {
118118
$viewer_config['themes'] = $theme_config;
119119
}
120120
$variables['#attached']['drupalSettings']['mirador']['viewers']["#{$variables['mirador_view_id']}"] = $viewer_config;
121+
// Attach the viewer libraries.
122+
$variables['#attached']['library'][] = 'islandora_mirador/viewer';
121123
}
122124

123125
/**

0 commit comments

Comments
 (0)