diff --git a/src/popup/components/PopupPage.js b/src/popup/components/PopupPage.js index ebebd0f..55b5735 100644 --- a/src/popup/components/PopupPage.js +++ b/src/popup/components/PopupPage.js @@ -82,6 +82,8 @@ export default class PopupPage extends Component { isEnabledOnPage: tabInfo.isEnabledOnPage }); if (tabInfo.selectedText !== "") this.handleInputText(tabInfo.selectedText); + + document.body.style.width = "348px"; }; handleInputText = inputText => { diff --git a/src/popup/styles/PopupPage.scss b/src/popup/styles/PopupPage.scss index 14b4a25..f89a2b4 100644 --- a/src/popup/styles/PopupPage.scss +++ b/src/popup/styles/PopupPage.scss @@ -67,8 +67,6 @@ body { font-family: "Segoe UI", "San Francisco", "Ubuntu", "Fira Sans", "Roboto", "Arial", "Helvetica", sans-serif; font-size: 13px; - width: 100%; - min-width: 348px; overflow: hidden; background-color: var(--main-bg);