Skip to content

Commit

Permalink
Fix font styles on react dev overlay (#51518)
Browse files Browse the repository at this point in the history
Fixes font styles change introduced in #49782

### Visuall Diff - After vs Before

<img src="https://github.com/vercel/next.js/assets/4800338/92f6af3a-9728-4dc5-b3d0-b21eefd16164" width="400">
<img src="https://github.com/vercel/next.js/assets/4800338/df88c9dd-b710-4a0a-a1aa-131adb55efa6"  width="400">
  • Loading branch information
huozhi committed Jun 20, 2023
1 parent 056ab79 commit fc172ee
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 62 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,30 +94,6 @@ export function Base() {
font-weight: 500;
line-height: 1.5;
}
h1 {
font-size: 26px;
}
h2 {
font-size: 24px;
}
h3 {
font-size: 22px;
}
h4 {
font-size: 20px;
}
h5 {
font-size: 18px;
}
h6 {
font-size: 16px;
}
`}
</style>
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,25 +60,6 @@ export function Base() {
font-weight: 500;
line-height: 1.5;
}
h1 {
font-size: 40px;
}
h2 {
font-size: 32px;
}
h3 {
font-size: 28px;
}
h4 {
font-size: 24px;
}
h5 {
font-size: 20px;
}
h6 {
font-size: 16px;
}
`}
</style>
)
Expand Down
19 changes: 0 additions & 19 deletions packages/react-dev-overlay/src/internal/styles/Base.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,25 +82,6 @@ export function Base() {
font-weight: 500;
line-height: 1.5;
}
h1 {
font-size: 40px;
}
h2 {
font-size: 32px;
}
h3 {
font-size: 28px;
}
h4 {
font-size: 24px;
}
h5 {
font-size: 20px;
}
h6 {
font-size: 16px;
}
`}
</style>
)
Expand Down

0 comments on commit fc172ee

Please sign in to comment.