Skip to content

Commit c74f47f

Browse files
Merge pull request #404 from eccenca/feature/executionVariables-CMEM-6514
Fix pre/code text inside tooltips
2 parents 63a23f2 + 67e6977 commit c74f47f

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
66

77
## [Unreleased]
88

9+
### Fixed
10+
11+
- `<Tooltip />`:
12+
- Code markup inside tooltips was hardly readable because of low contrast.
13+
914
## [26.0.0] - 2026-07-08
1015

1116
This is a major release, and it might not be compatible with your current usage of our library. Please read about the necessary changes in the migration section below.

src/components/Tooltip/tooltip.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,13 @@ $tooltip-padding-horizontal: $eccgui-size-block-whitespace * 0.5; // !default;
5252
transparent
5353
);
5454
}
55+
56+
pre code,
57+
.#{$eccgui}-typography__contentblock pre code,
58+
pre.#{$eccgui}-typography__text code {
59+
background-color: transparent;
60+
color: inherit;
61+
}
5562
}
5663

5764
.#{$prefix}--tooltip-content {

0 commit comments

Comments
 (0)