mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 09:25:27 +00:00
Improve titlebar design.
This commit is contained in:
@@ -10,7 +10,7 @@ import Notifications from "../context/revoltjs/Notifications";
|
||||
import StateMonitor from "../context/revoltjs/StateMonitor";
|
||||
import SyncManager from "../context/revoltjs/SyncManager";
|
||||
|
||||
import { TITLEBAR_HEIGHT, USE_TITLEBAR } from "../components/native/Titlebar";
|
||||
import { USE_TITLEBAR } from "../components/native/Titlebar";
|
||||
import BottomNavigation from "../components/navigation/BottomNavigation";
|
||||
import LeftSidebar from "../components/navigation/LeftSidebar";
|
||||
import RightSidebar from "../components/navigation/RightSidebar";
|
||||
@@ -48,7 +48,7 @@ export default function App() {
|
||||
width="100vw"
|
||||
height={
|
||||
USE_TITLEBAR
|
||||
? `calc(var(--app-height) - ${TITLEBAR_HEIGHT})`
|
||||
? "calc(var(--app-height) - var(--titlebar-height))"
|
||||
: "var(--app-height)"
|
||||
}
|
||||
leftPanel={
|
||||
|
||||
Reference in New Issue
Block a user