Skip to content

Commit b3f1eb1

Browse files
authored
Merge branch 'main' into documentation/add-locale-register
2 parents bba2523 + 68a4f86 commit b3f1eb1

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
@@ -3,6 +3,7 @@
33
## unpublished
44

55
- Fix: Add `crossOrigin` differently to layer sources that are an instance of `ImageWMS` as they require it being set as `crossOrigin_` to be recognized.
6+
- Fix: Add missing `font-family` css so that tooltips are always `Arial, sans-serif`.
67

78
## 2.0.0
89

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)