Skip to content

Commit 144ecb9

Browse files
committed
fix: resolve CSS conflict between AlertBox and markdown styles
- Keep background color at bg-info-600 as per design system - Add !important to paragraph color to override markdown styles - Fix text color conflict where p tags inherit markdown paragraph styles The issue was a CSS specificity conflict. Paragraph elements inside AlertBox were inheriting black text color from markdown styles instead of maintaining the white text color defined in AlertBox styles. Fixes #8290
1 parent 5d2362f commit 144ecb9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/ui-components/src/Common/AlertBox/index.module.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
text-sm
1616
text-white;
1717

18+
p {
19+
color: white !important;
20+
}
21+
1822
a {
1923
@apply font-bold
2024
text-white

0 commit comments

Comments
 (0)