Skip to content

Commit

Permalink
fix(popup): fix body width
Browse files Browse the repository at this point in the history
  • Loading branch information
crimx committed Sep 13, 2018
1 parent 4b96472 commit 5212b6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/popup/Popup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ export default Vue.extend({
created () {
createActiveConfigStream().subscribe(config => {
this.config = config as AppConfigMutable
document.body.style.width = config.panelWidth + 'px'
})
browser.tabs.query({ active: true, currentWindow: true })
Expand Down

0 comments on commit 5212b6a

Please sign in to comment.