fix style
This commit is contained in:
parent
845c202109
commit
d19dab8a66
2 changed files with 4 additions and 2 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -89,6 +89,8 @@ function updateWidgets(thisWidgets) {
|
|||
box-sizing: border-box;
|
||||
|
||||
&.universal {
|
||||
padding-top: var(--margin);
|
||||
|
||||
> * {
|
||||
margin: var(--margin) 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue