mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
Fix grid layout for web window bar
This commit is contained in:
@@ -21,9 +21,10 @@ const Layout = styled.div<{ windowBarStyle: Platform }>`
|
|||||||
'window-bar'
|
'window-bar'
|
||||||
'main-content'
|
'main-content'
|
||||||
'player';
|
'player';
|
||||||
grid-template-rows:
|
grid-template-rows: ${(props) =>
|
||||||
${(props) => (props.windowBarStyle !== Platform.WEB ? '30px' : '0px')} calc(100vh - 120px)
|
props.windowBarStyle !== Platform.WEB
|
||||||
90px;
|
? '30px calc(100vh - 120px) 90px'
|
||||||
|
: '0px calc(100vh - 90px) 90px'};
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
gap: 0;
|
gap: 0;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|||||||
Reference in New Issue
Block a user