Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev-overlay] fix: hydration error style #76049

Merged
merged 1 commit into from
Feb 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ export const styles = css`
margin-bottom: var(--size-3_5);
}
.error-overlay-notes-container {
padding: 0 var(--size-4);
margin: var(--size-2) var(--size-0_5);
}
.error-overlay-notes-container p {
white-space: pre-wrap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ export { PseudoHtmlDiff } from '../../../../hydration-diff/diff-view'

export const PSEUDO_HTML_DIFF_STYLES = css`
[data-nextjs-container-errors-pseudo-html] {
padding: var(--size-3) 0;
margin: var(--size-2) var(--size-4) var(--size-4);
margin: var(--size-2) 0;
border: 1px solid var(--color-gray-400);
background: var(--color-background-200);
color: var(--color-syntax-constant);
Expand Down
Loading