Unverified Commit eab41aba authored by Joe Haddad's avatar Joe Haddad Committed by GitHub

Only monospace numbers for new overlay (#12394)

parent 6dc28cff
......@@ -223,14 +223,9 @@ export const Errors: React.FC<ErrorsProps> = function Errors({ errors }) {
next={activeIdx < readyErrors.length - 1 ? next : null}
close={minimize}
>
<small
style={{
fontFamily: 'var(--font-stack-monospace)',
color: '#757575',
marginLeft: 9,
}}
>
{activeIdx + 1} of {readyErrors.length} unhandled error
<small>
<span>{activeIdx + 1}</span> of{' '}
<span>{readyErrors.length}</span> unhandled error
{readyErrors.length < 2 ? '' : 's'}
</small>
</LeftRightDialogHeader>
......@@ -254,6 +249,13 @@ export const styles = css`
margin: 0;
margin-top: 1rem;
}
.nextjs-container-errors-header small {
color: #757575;
margin-left: 9px;
}
.nextjs-container-errors-header small > span {
font-family: var(--font-stack-monospace);
}
.nextjs-container-errors-header > p {
font-family: var(--font-stack-monospace);
margin: 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment