aboutsummaryrefslogtreecommitdiff
path: root/src/components/tab_switcher/tab_switcher.js
diff options
context:
space:
mode:
authoreugenijm <eugenijm@protonmail.com>2020-07-23 09:06:50 +0300
committereugenijm <eugenijm@protonmail.com>2020-07-23 09:53:51 +0300
commit61dd1a3b4935d0466bfd77e026c19461d62b124f (patch)
tree4895a62ea70929a9a96efc25b1be5b4e7838aa03 /src/components/tab_switcher/tab_switcher.js
parentdac075c61a33eafa6778d04b9f972dbc1e1dfb57 (diff)
Add body 100% width for the preview, refactor the modalActivated watcher, use body scroll lock for the setting tab content
Diffstat (limited to 'src/components/tab_switcher/tab_switcher.js')
-rw-r--r--src/components/tab_switcher/tab_switcher.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/tab_switcher/tab_switcher.js b/src/components/tab_switcher/tab_switcher.js
index 7891cb78..919eb7cd 100644
--- a/src/components/tab_switcher/tab_switcher.js
+++ b/src/components/tab_switcher/tab_switcher.js
@@ -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>