Commit 946448f
authored
fix: Ensure links maintain green color within bold text (#7744)
* fix: ensure links maintain green color within bold text
* fix(markdown): ensure links inside bold text retain correct green color
- Remove color styling from `strong` so it only applies font weight, not color.
- Restore color styling for headings only.
- Remove unnecessary selectors and \!important overrides for link color.
- This allows links within bold text to inherit the correct green color naturally, resolving the previous override issue.
* test(storybook): add story for bold text and links to cover markdown edge cases
- Adds a story to the text stories.
- Demonstrates bold text, a link inside bold, and bold inside a link.
- Ensures CSS changes are visually tested for all relevant markdown scenarios.1 parent 479f73b commit 946448f
File tree
2 files changed
+25
-9
lines changed- packages/ui-components
- __design__
- styles
2 files changed
+25
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
80 | 100 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
43 | 47 | | |
44 | 48 | | |
45 | 49 | | |
46 | 50 | | |
47 | 51 | | |
48 | 52 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | 53 | | |
56 | | - | |
57 | | - | |
58 | | - | |
| 54 | + | |
59 | 55 | | |
60 | 56 | | |
61 | 57 | | |
| |||
0 commit comments