Add body 100% width for the preview, refactor the modalActivated watcher, use body scroll lock for the setting tab content
This commit is contained in:
parent
dac075c61a
commit
61dd1a3b49
4 changed files with 11 additions and 9 deletions
|
@ -134,7 +134,7 @@ export default Vue.component('tab-switcher', {
|
|||
<div class="tabs">
|
||||
{tabs}
|
||||
</div>
|
||||
<div ref="contents" class={'contents' + (this.scrollableTabs ? ' scrollable-tabs' : '')}>
|
||||
<div ref="contents" class={'contents' + (this.scrollableTabs ? ' scrollable-tabs' : '')} v-body-scroll-lock>
|
||||
{contents}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue