Skip to content

Commit 194945d

Browse files
committed
Override paragraph styling inside message boxes
Content within a div that has markdown enabled is wrapped in a p tag which means our custom styles were overwritten
1 parent 48db959 commit 194945d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

_sass/messages.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,19 @@ $error: #BF433A;
1212
background: transparentize($info, 0.8);
1313
border-color: $info;
1414
color: $info;
15+
16+
p {
17+
color: $info;
18+
}
1519
}
1620

1721
.warning {
1822
@extend %message;
1923
background: transparentize($error, 0.8);
2024
border-color: $error;
2125
color: $error;
26+
27+
p {
28+
color: $error;
29+
}
2230
}

0 commit comments

Comments
 (0)