Skip to content

Commit

Permalink
Migrate to new Google Map Markers, improve GP main page clustering (#711
Browse files Browse the repository at this point in the history
)
  • Loading branch information
xbpcb authored Dec 3, 2024
1 parent 7414f22 commit 479aae2
Show file tree
Hide file tree
Showing 4 changed files with 381 additions and 154 deletions.
2 changes: 1 addition & 1 deletion src/assets/less/common-globalping.less
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@
display: none !important;
}

.p-globalping-network .gm-style-iw-chr {
.p-globalping .gm-style-iw-chr, .p-globalping-network .gm-style-iw-chr {
display: none !important;
}

Expand Down
56 changes: 56 additions & 0 deletions src/assets/less/pages/globalping.less
Original file line number Diff line number Diff line change
Expand Up @@ -1915,6 +1915,62 @@
}
}
}

&_map-cluster-iw {
display: flex;
flex-direction: column;
row-gap: 4px;
padding: 16px 1px 4px;
min-width: 128px;

span {
font-family: Lexend, sans-serif;
font-size: 14px;
line-height: 20px;
color: #17233a;
}

&_header {
display: flex;
align-items: center;
column-gap: 4px;
margin-bottom: 8px;

&_location, &_cnt {
font-weight: 600;
}

&_cnt {
display: flex;
align-items: center;
justify-content: center;
height: 20px;
padding: 0 8px;
border: 1px solid #e7e7ee;
border-radius: 12px;
background: #e8fff9;
}
}

&_row {
display: flex;
align-items: center;
column-gap: 4px;

&_network-cnt {
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 14px;
font-weight: 600;
line-height: 20px;
padding: 0 8px;
border: 1px solid #e7e7ee;
border-radius: 12px;
background-color: #fff;
}
}
}
}

.c-tags-input {
Expand Down
Loading

0 comments on commit 479aae2

Please sign in to comment.