[Fast Refresh] Resize Arrows and Preserve Newlines (#12672)

This commit is contained in:
Joe Haddad 2020-05-09 18:37:13 -04:00 committed by GitHub
parent f54e05f776
commit 1c555f6759
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View file

@ -11,9 +11,10 @@ const styles = css`
[data-nextjs-dialog-left-right] > nav > button {
display: inline-flex;
align-items: center;
justify-content: center;
width: var(--size-gap-quad);
height: var(--size-gap-quad);
width: calc(var(--size-gap-double) + var(--size-gap));
height: calc(var(--size-gap-double) + var(--size-gap));
font-size: 0;
border: none;
background-color: rgba(255, 85, 85, 0.1);
@ -23,7 +24,7 @@ const styles = css`
}
[data-nextjs-dialog-left-right] > nav > button > svg {
width: auto;
height: var(--size-font-small);
height: calc(var(--size-gap) + var(--size-gap-half));
}
[data-nextjs-dialog-left-right] > nav > button:hover {
background-color: rgba(255, 85, 85, 0.2);

View file

@ -267,7 +267,9 @@ export const styles = css`
line-height: var(--size-font-big);
font-weight: bold;
margin: 0;
margin-top: var(--size-gap-half);
color: var(--color-ansi-red);
white-space: pre-wrap;
}
.nextjs-container-errors-body > h5:not(:first-child) {