Skip to content

Commit

Permalink
use inline style for border color
Browse files Browse the repository at this point in the history
  • Loading branch information
shawn320 committed Oct 5, 2023
1 parent 92529a0 commit a49acaf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/Layout/ContextualAlert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ export const ContextualAlert: React.FC<ContextualAlertProps> = ({
/>
</div>
<div
className={`overflow-auto border-l-4 border-[${alertColor}] pl-[24px] py-[16px] leading-8`}
style={{ borderColor: alertColor }}
className={`overflow-auto border-l-4 pl-[24px] py-[16px] leading-8`}
>
{asHtml ? (
<p
Expand Down

0 comments on commit a49acaf

Please sign in to comment.