Fix grid layout for web window bar
This commit is contained in:
parent
bc5f1f13f0
commit
dbcda5b634
1 changed files with 4 additions and 3 deletions
|
@ -21,9 +21,10 @@ const Layout = styled.div<{ windowBarStyle: Platform }>`
|
|||
'window-bar'
|
||||
'main-content'
|
||||
'player';
|
||||
grid-template-rows:
|
||||
${(props) => (props.windowBarStyle !== Platform.WEB ? '30px' : '0px')} calc(100vh - 120px)
|
||||
90px;
|
||||
grid-template-rows: ${(props) =>
|
||||
props.windowBarStyle !== Platform.WEB
|
||||
? '30px calc(100vh - 120px) 90px'
|
||||
: '0px calc(100vh - 90px) 90px'};
|
||||
grid-template-columns: 1fr;
|
||||
gap: 0;
|
||||
height: 100%;
|
||||
|
|
Reference in a new issue