fix style

This commit is contained in:
syuilo 2022-12-29 09:36:41 +09:00
parent 845c202109
commit d19dab8a66
2 changed files with 4 additions and 2 deletions

View File

@ -7,7 +7,7 @@
<XSidebar/>
</div>
<div v-else ref="widgetsLeft" class="widgets left">
<XWidgets place="left" @mounted="attachSticky(widgetsLeft)"/>
<XWidgets place="left" @mounted="attachSticky(widgetsLeft)" :classic="true"/>
</div>
<main class="main" :style="{ background: pageMetadata?.value?.bg }" @contextmenu.stop="onContextmenu">
@ -17,7 +17,7 @@
</main>
<div v-if="isDesktop" ref="widgetsRight" class="widgets right">
<XWidgets :place="showMenuOnTop ? 'right' : null" @mounted="attachSticky(widgetsRight)"/>
<XWidgets :place="showMenuOnTop ? 'right' : null" @mounted="attachSticky(widgetsRight)" :classic="true"/>
</div>
</div>

View File

@ -89,6 +89,8 @@ function updateWidgets(thisWidgets) {
box-sizing: border-box;
&.universal {
padding-top: var(--margin);
> * {
margin: var(--margin) 0;
}