File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 514514 const root = d3 . select ( selectors . mapRoot ) ;
515515 root . selectAll ( "*" ) . remove ( ) ;
516516
517- const width = 980 ;
517+ const width = 900 ;
518518 const height = 520 ;
519519
520520 const svg = root
686686 const root = d3 . select ( selectors . eventList ) ;
687687 root . selectAll ( "*" ) . remove ( ) ;
688688
689- root . append ( "h3" ) . text ( "Some interesting years:" ) ;
689+ root . append ( "h3" ) . text ( "Some interesting years:" ) . style ( "width" , "100%" ) ;
690690
691691 root . append ( "p" )
692692 . attr ( "class" , "geo-highlight-event" )
Original file line number Diff line number Diff line change 312312 style . textContent = `
313313 #never-medaled-viz {
314314 width: 100%;
315- max-width: 1280px ;
315+ max-width: 1440px ;
316316 margin: 0 auto;
317317 color: white;
318318 }
348348 .never-layout {
349349 display: grid;
350350 grid-template-columns: 1.2fr 0.8fr;
351+ gap: 34px;
351352 align-items: start;
352- margin-top: 50px ;
353+ margin-top: 12px ;
353354 }
354355
355356 .never-map-panel,
763764 }
764765
765766 function drawMap ( container , data ) {
766- const width = 800 ;
767+ const width = 900 ;
767768 const height = 520 ;
768769
769770 const svg = container . append ( "svg" )
Original file line number Diff line number Diff line change 512512}
513513
514514.geo-intro {
515- width : 100% ;
516515 max-width : none;
517516 margin : 0 auto 18px ;
518517 text-align : center;
@@ -524,14 +523,18 @@ h4 {
524523
525524.geo-layout {
526525 display : grid;
527- grid-template-columns : 1.35 fr 0.9 fr ;
526+ grid-template-columns : 1.2 fr 0.8 fr ;
528527 gap : 34px ;
529528 align-items : start;
530529 margin-top : 12px ;
530+ margin-left : auto;
531+ margin-right : auto;
532+ max-width : 1440px ;
531533}
532534
533535.geo-map-column {
534536 width : 100% ;
537+ position : relative;
535538}
536539
537540# geopolitics-map-viz {
@@ -749,10 +752,6 @@ h4 {
749752 }
750753}
751754
752- .geo-map-column {
753- position : relative;
754- }
755-
756755.geo-map-column .geo-hover-text {
757756 margin-bottom : 0px ;
758757 transform : translateY (-10px );
You can’t perform that action at this time.
0 commit comments