Fix popup width for firefox
This commit is contained in:
parent
aa73a415ad
commit
0bb452c88b
|
@ -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 => {
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue