fix style
This commit is contained in:
parent
845c202109
commit
d19dab8a66
|
@ -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 New Issue