Skip to content

Commit 9241dda

Browse files
authored
Merge branch 'main' into feature/add-measure-tool
2 parents c0d8153 + 68a4f86 commit 9241dda

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

packages/core/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
- Feature: Add new reusable component `RadioCard.vue` to the package.
66
- Fix: Add `crossOrigin` differently to layer sources that are an instance of `ImageWMS` as they require it being set as `crossOrigin_` to be recognized.
7+
- Fix: Add missing `font-family` css so that tooltips are always `Arial, sans-serif`.
78

89
## 2.0.0
910

packages/core/src/utils/createMap/pullVuetifyStyleToShadow.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,11 @@ export const pullVuetifyStyleToShadow = (shadowRoot: ShadowRoot) => {
1111
return
1212
}
1313
shadowRoot.appendChild(vuetifyStyle)
14+
15+
// tooltips are technically a neighbour of the app; add missing font style
16+
const tooltipStyle = document.createElement('style')
17+
tooltipStyle.innerHTML = `.v-tooltip__content {
18+
font-family: sans-serif;
19+
}`
20+
shadowRoot.appendChild(tooltipStyle)
1421
}

0 commit comments

Comments
 (0)