Unverified Commit 1c555f67 authored by Joe Haddad's avatar Joe Haddad Committed by GitHub

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

parent f54e05f7
...@@ -11,9 +11,10 @@ const styles = css` ...@@ -11,9 +11,10 @@ const styles = css`
[data-nextjs-dialog-left-right] > nav > button { [data-nextjs-dialog-left-right] > nav > button {
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
justify-content: center;
width: var(--size-gap-quad); width: calc(var(--size-gap-double) + var(--size-gap));
height: var(--size-gap-quad); height: calc(var(--size-gap-double) + var(--size-gap));
font-size: 0; font-size: 0;
border: none; border: none;
background-color: rgba(255, 85, 85, 0.1); background-color: rgba(255, 85, 85, 0.1);
...@@ -23,7 +24,7 @@ const styles = css` ...@@ -23,7 +24,7 @@ const styles = css`
} }
[data-nextjs-dialog-left-right] > nav > button > svg { [data-nextjs-dialog-left-right] > nav > button > svg {
width: auto; width: auto;
height: var(--size-font-small); height: calc(var(--size-gap) + var(--size-gap-half));
} }
[data-nextjs-dialog-left-right] > nav > button:hover { [data-nextjs-dialog-left-right] > nav > button:hover {
background-color: rgba(255, 85, 85, 0.2); background-color: rgba(255, 85, 85, 0.2);
......
...@@ -267,7 +267,9 @@ export const styles = css` ...@@ -267,7 +267,9 @@ export const styles = css`
line-height: var(--size-font-big); line-height: var(--size-font-big);
font-weight: bold; font-weight: bold;
margin: 0; margin: 0;
margin-top: var(--size-gap-half);
color: var(--color-ansi-red); color: var(--color-ansi-red);
white-space: pre-wrap;
} }
.nextjs-container-errors-body > h5:not(:first-child) { .nextjs-container-errors-body > h5:not(:first-child) {
......
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