mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-26 20:50:30 +08:00
fix: guide page display issue
This commit is contained in:
parent
95df5e7712
commit
55a3bc9cd3
@ -80,13 +80,11 @@ const App: React.FC = () => {
|
||||
const location = useLocation()
|
||||
const page = useRoutes(routes)
|
||||
const setTitlebar = (): void => {
|
||||
if (!useWindowFrame) {
|
||||
if (!useWindowFrame && platform !== 'darwin') {
|
||||
const options = { height: 48 } as TitleBarOverlayOptions
|
||||
try {
|
||||
if (platform !== 'darwin') {
|
||||
options.color = window.getComputedStyle(document.documentElement).backgroundColor
|
||||
options.symbolColor = window.getComputedStyle(document.documentElement).color
|
||||
}
|
||||
options.color = window.getComputedStyle(document.documentElement).backgroundColor
|
||||
options.symbolColor = window.getComputedStyle(document.documentElement).color
|
||||
setTitleBarOverlay(options)
|
||||
} catch (e) {
|
||||
// ignore
|
||||
|
||||
@ -8,22 +8,22 @@
|
||||
}
|
||||
|
||||
.driver-popover {
|
||||
background-color: hsl(var(--nextui-content2)) !important;
|
||||
background-color: hsl(var(--heroui-content2)) !important;
|
||||
border-radius: 8px !important;
|
||||
color: hsl(var(--nextui-foreground)) !important;
|
||||
color: hsl(var(--heroui-foreground)) !important;
|
||||
}
|
||||
|
||||
.driver-popover a {
|
||||
color: hsl(var(--nextui-primary)) !important;
|
||||
color: hsl(var(--heroui-primary)) !important;
|
||||
text-decoration: underline !important;
|
||||
}
|
||||
|
||||
.driver-popover-close-btn {
|
||||
color: hsl(var(--nextui-foreground)) !important;
|
||||
color: hsl(var(--heroui-foreground)) !important;
|
||||
}
|
||||
|
||||
.driver-popover-progress-text {
|
||||
color: hsl(var(--nextui-default-500)) !important;
|
||||
color: hsl(var(--heroui-default-500)) !important;
|
||||
}
|
||||
|
||||
.driver-popover-prev-btn {
|
||||
@ -33,7 +33,7 @@
|
||||
padding: 8px !important;
|
||||
border-radius: 5px !important;
|
||||
font-size: 12px !important;
|
||||
background-color: hsl(var(--nextui-primary)) !important;
|
||||
background-color: hsl(var(--heroui-primary)) !important;
|
||||
}
|
||||
|
||||
.driver-popover-next-btn {
|
||||
@ -43,23 +43,23 @@
|
||||
padding: 8px !important;
|
||||
border-radius: 5px !important;
|
||||
font-size: 12px !important;
|
||||
background-color: hsl(var(--nextui-primary)) !important;
|
||||
background-color: hsl(var(--heroui-primary)) !important;
|
||||
}
|
||||
|
||||
.driver-popover-arrow-side-bottom {
|
||||
border-bottom-color: hsl(var(--nextui-content2)) !important;
|
||||
border-bottom-color: hsl(var(--heroui-content2)) !important;
|
||||
}
|
||||
|
||||
.driver-popover-arrow-side-top {
|
||||
border-top-color: hsl(var(--nextui-content2)) !important;
|
||||
border-top-color: hsl(var(--heroui-content2)) !important;
|
||||
}
|
||||
|
||||
.driver-popover-arrow-side-left {
|
||||
border-left-color: hsl(var(--nextui-content2)) !important;
|
||||
border-left-color: hsl(var(--heroui-content2)) !important;
|
||||
}
|
||||
|
||||
.driver-popover-arrow-side-right {
|
||||
border-right-color: hsl(var(--nextui-content2)) !important;
|
||||
border-right-color: hsl(var(--heroui-content2)) !important;
|
||||
}
|
||||
|
||||
.app-nodrag {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user