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 }) { ...@@ -223,14 +223,9 @@ export const Errors: React.FC<ErrorsProps> = function Errors({ errors }) {
next={activeIdx < readyErrors.length - 1 ? next : null} next={activeIdx < readyErrors.length - 1 ? next : null}
close={minimize} close={minimize}
> >
<small <small>
style={{ <span>{activeIdx + 1}</span> of{' '}
fontFamily: 'var(--font-stack-monospace)', <span>{readyErrors.length}</span> unhandled error
color: '#757575',
marginLeft: 9,
}}
>
{activeIdx + 1} of {readyErrors.length} unhandled error
{readyErrors.length < 2 ? '' : 's'} {readyErrors.length < 2 ? '' : 's'}
</small> </small>
</LeftRightDialogHeader> </LeftRightDialogHeader>
...@@ -254,6 +249,13 @@ export const styles = css` ...@@ -254,6 +249,13 @@ export const styles = css`
margin: 0; margin: 0;
margin-top: 1rem; 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 { .nextjs-container-errors-header > p {
font-family: var(--font-stack-monospace); font-family: var(--font-stack-monospace);
margin: 0; 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