Skip to content

Commit 0ac415f

Browse files
committed
Cleanup
1 parent 4728b40 commit 0ac415f

File tree

5 files changed

+6
-25
lines changed

5 files changed

+6
-25
lines changed

packages/next/src/client/components/react-dev-overlay/ui/components/dialog/dialog-footer.tsx

-12
This file was deleted.

packages/next/src/client/components/react-dev-overlay/ui/components/dialog/index.ts

-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@ export { Dialog } from './dialog'
22
export { DialogBody } from './dialog-body'
33
export { DialogContent } from './dialog-content'
44
export { DialogHeader } from './dialog-header'
5-
export { DialogFooter } from './dialog-footer'
65
export { styles } from './styles'

packages/next/src/client/components/react-dev-overlay/ui/components/dialog/styles.ts

-5
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,6 @@ const styles = `
9494
flex: 1 1 auto;
9595
}
9696
97-
[data-nextjs-dialog-footer] {
98-
position: relative;
99-
bottom: 0;
100-
}
101-
10297
@media (max-height: 812px) {
10398
[data-nextjs-dialog-overlay] {
10499
max-height: calc(100% - 15px);

packages/next/src/client/components/react-dev-overlay/ui/components/errors/dialog/dialog.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ export function ErrorOverlayDialog({
3232

3333
export const DIALOG_STYLES = `
3434
.error-overlay-dialog-container {
35+
-webkit-font-smoothing: antialiased;
3536
display: flex;
3637
flex-direction: column;
3738
background: var(--color-background-100);

packages/next/src/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.tsx

+5-7
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { DebugInfo } from '../../../../types'
33
import type { ErrorMessageType } from '../error-message/error-message'
44
import type { ErrorType } from '../error-type-label/error-type-label'
55

6-
import { DialogContent, DialogFooter } from '../../dialog'
6+
import { DialogContent } from '../../dialog'
77
import {
88
ErrorOverlayToolbar,
99
styles as toolbarStyles,
@@ -112,12 +112,10 @@ export function ErrorOverlayLayout({
112112
onScroll={onScroll}
113113
footer={
114114
hasFooter && (
115-
<DialogFooter>
116-
<ErrorOverlayFooter
117-
footerMessage={footerMessage}
118-
errorCode={errorCode}
119-
/>
120-
</DialogFooter>
115+
<ErrorOverlayFooter
116+
footerMessage={footerMessage}
117+
errorCode={errorCode}
118+
/>
121119
)
122120
}
123121
>

0 commit comments

Comments
 (0)