Skip to content

Commit

Permalink
change class name
Browse files Browse the repository at this point in the history
Co-authored-by: Jiachi Liu <[email protected]>
  • Loading branch information
devjiwonchoi and huozhi committed Jan 10, 2025
1 parent 481d439 commit 10c4476
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ export function ErrorOverlayDialogHeader({
return (
<DialogHeader
className={`nextjs-container-errors-header ${
isTurbopack ? 'turbopack' : ''
isTurbopack
? 'nextjs-error-overlay-dialog-header-turbopack-background'
: ''
}`}
>
{children}
Expand Down Expand Up @@ -55,7 +57,7 @@ export const DIALOG_HEADER_STYLES = css`
right: var(--size-4);
}
.nextjs-container-errors-header.turbopack {
.nextjs-error-overlay-dialog-header-turbopack-background {
background-image: linear-gradient(
10deg,
var(--color-background-100) 60%,
Expand All @@ -65,7 +67,7 @@ export const DIALOG_HEADER_STYLES = css`
}
@media (prefers-color-scheme: dark) {
.nextjs-container-errors-header.turbopack {
.nextjs-error-overlay-dialog-header-turbopack-background {
background-image: linear-gradient(
10deg,
var(--color-background-100) 60%,
Expand Down

0 comments on commit 10c4476

Please sign in to comment.