diff --git a/CHANGELOG.md b/CHANGELOG.md index 566e53aa..1e866146 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,10 @@ _Note: Gaps between patch versions are faulty, broken or test releases._ ## UNRELEASED +* **Bug Fix** + * Fix tooltip styling in dark mode when using CSS Modules ([#688](https://github.com/webpack/webpack-bundle-analyzer/pull/688) by [@theEquinoxDev](https://github.com/theEquinoxDev)) + + ## 5.1.0 * **Bug Fix** diff --git a/client/components/Tooltip.css b/client/components/Tooltip.css index 5c72c1b9..374a3103 100644 --- a/client/components/Tooltip.css +++ b/client/components/Tooltip.css @@ -15,3 +15,9 @@ opacity: 0; visibility: hidden; } + +:global(html[data-theme='dark']) .container { + background: var(--bg-primary); + color: var(--text-primary); + border: 1px solid var(--border-color); +}