File tree Expand file tree Collapse file tree 1 file changed +29
-3
lines changed
Expand file tree Collapse file tree 1 file changed +29
-3
lines changed Original file line number Diff line number Diff line change 270270 .map-info .expanded {
271271 border-radius : 8px ;
272272 min-width : 280px ;
273- max-width : 320px ;
273+ max-width : 500px ;
274+ max-height : calc (100vh - 120px );
274275 cursor : default;
276+ display : flex;
277+ flex-direction : column;
278+ overflow : hidden;
275279 }
276280
277281 /* Text button when collapsed */
310314 transition : all 0.2s ease;
311315 background : rgba (26 , 115 , 232 , 0.05 );
312316 border-bottom : 1px solid rgba (0 , 0 , 0 , 0.1 );
317+ flex-shrink : 0 ;
313318 }
314319
315320 .info-header : hover {
350355 color : # 5f6368 ;
351356 background : rgba (26 , 115 , 232 , 0.02 );
352357 border-bottom : 1px solid rgba (0 , 0 , 0 , 0.1 );
358+ flex-shrink : 0 ;
353359 }
354360
355361 .info-summary-item {
373379 }
374380
375381 .info-content .expanded {
376- max-height : 700 px ;
382+ max-height : calc ( 100 vh - 200 px ) ;
377383 padding : 16px ;
384+ overflow-y : auto;
385+ overflow-x : hidden;
386+ }
387+
388+ .info-content .expanded ::-webkit-scrollbar {
389+ width : 6px ;
390+ }
391+
392+ .info-content .expanded ::-webkit-scrollbar-track {
393+ background : # f8f9fa ;
394+ border-radius : 3px ;
395+ }
396+
397+ .info-content .expanded ::-webkit-scrollbar-thumb {
398+ background : # dadce0 ;
399+ border-radius : 3px ;
400+ }
401+
402+ .info-content .expanded ::-webkit-scrollbar-thumb : hover {
403+ background : # bdc1c6 ;
378404 }
379405
380406 .info-stat {
764790
765791 <!-- Map Headline Overlay -->
766792 < div class ="map-headline ">
767- GTM Global tsunami hazard – 2017 version
793+ GTM Global tsunami hazard
768794 </ div >
769795
770796 <!-- Combined Information and Legend Panel -->
You can’t perform that action at this time.
0 commit comments