File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed
assets/styles/bharat-map/components Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 5252 ]
5353 }
5454 ]
55- }
55+ }
Original file line number Diff line number Diff line change 5353 fill : var (--primary-color );
5454}
5555
56- .capital-marker : hover + .capital-label {
56+ .capital-marker : hover + .capital-label {
5757 opacity : 1 ;
5858 transform : translateY (-8px );
5959}
7676.capital-label : hover ,
7777.capital-label .active {
7878 opacity : 1 ;
79- }
79+ }
Original file line number Diff line number Diff line change 11---
2+
23---
34
45<div id =" stateModal" class =" modal" >
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export class StateModal {
1515 private modal : HTMLElement ;
1616
1717 constructor ( stateData : StateData , stateName : string ) {
18- this . stateData = stateData || { } as StateData ;
18+ this . stateData = stateData || ( { } as StateData ) ;
1919 this . stateName = stateName ;
2020 const modal = document . getElementById ( "stateModal" ) ;
2121 if ( ! modal ) throw new Error ( "Modal element not found" ) ;
@@ -86,7 +86,7 @@ export class StateModal {
8686 private showCopyFeedback ( ) : void {
8787 const copyBtn = this . modal . querySelector ( "#copyButton" ) as HTMLElement ;
8888 if ( ! copyBtn ) return ;
89-
89+
9090 copyBtn . innerHTML = '<i class="fas fa-check"></i> Copied!' ;
9191 setTimeout ( ( ) => {
9292 copyBtn . innerHTML = '<i class="fas fa-copy"></i> Copy' ;
You can’t perform that action at this time.
0 commit comments