Skip to content

Commit 68aff2a

Browse files
authored
Merge branch 'main' into dish_intern
2 parents 3b0a7b2 + 68a4f86 commit 68aff2a

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

packages/core/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
## unpublished
44

5-
- Fix: Add `crossOrigin` differently to layer sources that are an instance of `ImageWMS` as they require it being set as `crossOrigin_` to be recognized.
65
- Feature: Additionally export `MapInstance` type.
6+
- 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)