fix(client): 移动端界面显示异常

This commit is contained in:
CrescentLeaf
2025-12-06 19:39:23 +08:00
parent 2d48d2f536
commit 00371b1dda

View File

@@ -54,7 +54,8 @@ export default function Main() {
<div style={{
display: "flex",
position: 'relative',
width: 'calc(var(--whitesilk-window-width) - 80px)',
flexDirection: isMobileUI() ? 'column' : 'row',
width: `calc(var(--whitesilk-window-width))${isMobileUI() ? '' : ' - 80px'}`,
height: 'var(--whitesilk-window-height)',
}}>
{