fix: windows style

This commit is contained in:
kangfenmao
2024-08-08 23:30:55 +08:00
parent 64ee3f2108
commit e028d0600f
3 changed files with 3 additions and 5 deletions
+2 -2
View File
@@ -91,7 +91,7 @@
}
code {
white-space: pre-wrap;
white-space: pre-wrap !important;
font-family: 'Courier New', Courier, monospace;
}
@@ -102,7 +102,7 @@
}
pre {
white-space: pre-wrap;
white-space: pre-wrap !important;
padding: 1em;
border-radius: 5px;
overflow-x: auto;
+1 -1
View File
@@ -5,5 +5,5 @@ export const FONT_FAMILY =
"Ubuntu, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif"
export const platform = window.electron?.process?.platform
export const isMac = platform === 'darwin'
export const isWindows = platform === 'windows'
export const isWindows = platform === 'win32' || platform === 'win64'
export const isLinux = platform === 'linux'