MikaFil commited on
Commit
de87245
·
verified ·
1 Parent(s): 6c27ca3

Update style/defaults/style.css

Browse files
Files changed (1) hide show
  1. style/defaults/style.css +13 -0
style/defaults/style.css CHANGED
@@ -401,3 +401,16 @@ canvas {
401
  touch-action: auto !important;
402
  z-index: 100 !important;
403
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
401
  touch-action: auto !important;
402
  z-index: 100 !important;
403
  }
404
+
405
+
406
+ /* Prevent tooltip from exceeding its parent .viewer-container (for embedded cases) */
407
+ .viewer-container {
408
+ position: relative;
409
+ /* Already has overflow: hidden; */
410
+ }
411
+ .viewer-container .tooltip-panel {
412
+ max-width: 96%;
413
+ max-height: 96%;
414
+ box-sizing: border-box;
415
+ }
416
+