Fix popup width for firefox

This commit is contained in:
sienori 2022-08-30 22:05:49 +09:00
parent aa73a415ad
commit 0bb452c88b
2 changed files with 2 additions and 2 deletions

View file

@ -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 => {

View file

@ -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);