diff --git a/src/components/FilePath.vue b/src/components/FilePath.vue index da8cf35..b0a1dfc 100644 --- a/src/components/FilePath.vue +++ b/src/components/FilePath.vue @@ -86,7 +86,9 @@ this.$nextTick(() => { $('.tooltip').remove(); $(this.$el).find('[data-tooltip="toggle"]').tooltip({ - placement: 'bottom' + placement: 'bottom', + container: 'body', + boundary: 'window' }); }); } diff --git a/src/components/FileTable.vue b/src/components/FileTable.vue index 046bfcc..c3928ae 100644 --- a/src/components/FileTable.vue +++ b/src/components/FileTable.vue @@ -95,7 +95,9 @@ this.$nextTick(() => { $('.tooltip').remove(); $(this.$el).find('[data-tooltip="toggle"]').tooltip({ - placement: 'bottom' + placement: 'auto', + container: 'body', + boundary: 'window' }); }); } diff --git a/src/styles/index.scss b/src/styles/index.scss index ed2547f..48c8b33 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -7,6 +7,7 @@ html { body { background-color: #fafafa; + overflow-x: hidden; } .no-select {