remove content div margin bottom if alt_np is not shown

This commit is contained in:
geoffrey45
2022-08-27 22:17:24 +03:00
parent a9ce08b092
commit b019fa22c4
4 changed files with 34 additions and 18 deletions
+7 -8
View File
@@ -2,16 +2,15 @@
<ContextMenu />
<Modal />
<Notification />
<div id="app-grid">
<div
id="app-grid"
:class="{
showAltNP: settings.use_alt_np,
}"
>
<LeftSidebar />
<NavBar />
<div
id="acontent"
class="rounded"
:style="{
marginBottom: !settings.use_alt_np ? '-1rem' : '0',
}"
>
<div id="acontent" class="rounded">
<router-view />
</div>
<NowPlayingRight />