diff options
| author | eugenijm <eugenijm@protonmail.com> | 2020-07-23 12:20:48 +0300 |
|---|---|---|
| committer | eugenijm <eugenijm@protonmail.com> | 2020-07-23 16:36:21 +0300 |
| commit | 77d65d6cecfae1bdbf5e5b7d8c882d39846b91f1 (patch) | |
| tree | 8eb339ca8b0bb16d5282f728c1f80b905aceae59 /src/components/tab_switcher | |
| parent | 2298ad0011e8507a138d967ed142641981e1e297 (diff) | |
Ensures the minimized modal is always 50px above the mobile browser bottom bar regardless of whether or not it is visible.
Diffstat (limited to 'src/components/tab_switcher')
| -rw-r--r-- | src/components/tab_switcher/tab_switcher.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/tab_switcher/tab_switcher.js b/src/components/tab_switcher/tab_switcher.js index 19206610..40b5b3ca 100644 --- a/src/components/tab_switcher/tab_switcher.js +++ b/src/components/tab_switcher/tab_switcher.js @@ -46,7 +46,7 @@ export default Vue.component('tab-switcher', { return this.active } }, - bodyLocked () { + settingsModalVisible () { return this.settingsModalState === 'visible' }, ...mapState({ @@ -141,7 +141,7 @@ export default Vue.component('tab-switcher', { <div class="tabs"> {tabs} </div> - <div ref="contents" class={'contents' + (this.scrollableTabs ? ' scrollable-tabs' : '')} v-body-scroll-lock={this.bodyLocked}> + <div ref="contents" class={'contents' + (this.scrollableTabs ? ' scrollable-tabs' : '')} v-body-scroll-lock={this.settingsModalVisible}> {contents} </div> </div> |
