fix: windows app styling (#14805)

This commit is contained in:
Peer Richelsen authored and GitHub committed 2024-05-06 17:41:45 +00:00
1 parent 0c3d1b3034
commit 2d0cac0dad
4 files changed
+11 -3

No files matched your search

+1 -1
View File
@@ -85,7 +85,7 @@ export default async function RootLayout({ children }: { children: React.ReactNo
`}</style>
</head>
<body
className="dark:bg-darkgray-50 todesktop:!bg-transparent bg-subtle antialiased"
className="dark:bg-darkgray-50 bg-subtle antialiased"
style={
isEmbed
? {
+1 -1
View File
@@ -88,7 +88,7 @@ class MyDocument extends Document<Props> {
</Head>
<body
className="dark:bg-darkgray-50 todesktop:!bg-transparent bg-subtle antialiased"
className="dark:bg-darkgray-50 bg-subtle antialiased"
style={
isEmbed
? {
+8
View File
@@ -121,6 +121,10 @@ body  {
https://docs.todesktop.com/
*/
html.todesktop-platform-win32 .todesktop\:\!bg-transparent{
background: inherit !important;
}
/* disable user selection on buttons, links and images on desktop app */
html.todesktop button,
html.todesktop a,
@@ -150,6 +154,10 @@ html.todesktop header a {
-webkit-app-region: no-drag;
}
html.todesktop-platform-darwin body, html.todesktop-platform-darwin aside {
background: transparent !important;
}
html.todesktop-platform-darwin.dark main.bg-default {
background: rgba(0, 0, 0, 0.6) !important;
}