mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
style: Adjust formatting for improved readability in HeaderAlert and Modal components
This commit is contained in:
@@ -87,9 +87,11 @@ const HeaderAlert: (props: ComponentProps) => ReactElement = (
|
||||
{props.title}
|
||||
</p>
|
||||
{props.suffix && (
|
||||
<span className={`ml-1 ${textColor} text-sm font-semibold hidden md:block`}>
|
||||
<span
|
||||
className={`ml-1 ${textColor} text-sm font-semibold hidden md:block`}
|
||||
>
|
||||
{props.suffix}
|
||||
</span>
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -126,7 +126,9 @@ const Modal: FunctionComponent<ComponentProps> = (
|
||||
)}
|
||||
</div>
|
||||
{props.rightElement && (
|
||||
<div data-testid="right-element" className="mt-4 md:mt-0">{props.rightElement}</div>
|
||||
<div data-testid="right-element" className="mt-4 md:mt-0">
|
||||
{props.rightElement}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
<div className="mt-2">
|
||||
|
||||
Reference in New Issue
Block a user