Skip to content

Commit

Permalink
Merge pull request #139 from Carifio24/bundle-font
Browse files Browse the repository at this point in the history
Bundle Highway Gothic font
  • Loading branch information
patudom authored Apr 3, 2024
2 parents 5862099 + 8c910ce commit 0a89520
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/LocationSelector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -592,8 +592,13 @@ export default defineComponent({
height: 100%;
width: 100%;
margin: auto;
padding: 5px 0px;
padding: 0;
border-radius: 5px;
.leaflet-control-container {
height: 100%;
position: relative;
}
.leaflet-bottom.leaflet-right::before {
content: " Credit: © Leaflet.js";
Expand Down
2 changes: 1 addition & 1 deletion src/SolarEclipse2024.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4340,7 +4340,7 @@ export default defineComponent({
<style lang="less">
@font-face {
font-family: "Highway Gothic Narrow";
src: url("https://projects.cosmicds.cfa.harvard.edu/cds-website/fonts/HighwayGothicNarrow.ttf");
src: url("./assets/HighwayGothicNarrow.ttf");
}

:root {
Expand Down
Binary file added src/assets/HighwayGothicNarrow.ttf
Binary file not shown.

0 comments on commit 0a89520

Please sign in to comment.