Unverified Commit cf1b7194 authored by Jiachi Liu's avatar Jiachi Liu Committed by GitHub

[devtool] move font styling to global.css (#81782)

Since we have global css reset, we can only need to reset the font style once, not everywhere

Closes NEXT-4628
parent 4a0aa9ca
......@@ -5,7 +5,6 @@
}
.dev-tools-indicator-menu {
-webkit-font-smoothing: antialiased;
display: flex;
flex-direction: column;
align-items: flex-start;
......
......@@ -92,7 +92,6 @@ export function NextLogo({
}
[data-next-badge] {
-webkit-font-smoothing: antialiased;
width: var(--size);
height: var(--size);
display: flex;
......
......@@ -91,7 +91,6 @@ export function DevToolsInfo({
export const DEV_TOOLS_INFO_STYLES = css`
[data-info-popover] {
-webkit-font-smoothing: antialiased;
display: flex;
flex-direction: column;
align-items: flex-start;
......
......@@ -31,7 +31,6 @@ export function ErrorOverlayDialog({
export const DIALOG_STYLES = `
.error-overlay-dialog-container {
-webkit-font-smoothing: antialiased;
display: flex;
flex-direction: column;
background: var(--color-background-100);
......
......@@ -86,7 +86,6 @@ export function usePersistentCacheErrorDetection({
export const RESTART_SERVER_BUTTON_STYLES = `
.restart-dev-server-button {
-webkit-font-smoothing: antialiased;
display: flex;
justify-content: center;
align-items: center;
......
......@@ -52,7 +52,6 @@ export function VersionStalenessInfo({
export const styles = `
.nextjs-container-build-error-version-status {
-webkit-font-smoothing: antialiased;
display: flex;
justify-content: center;
align-items: center;
......
/* devtool global css variables */
:host {
/* variables */
--top-z-index: 2147483647;
}
/* global styles */
* {
-webkit-font-smoothing: antialiased;
}
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