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
|
isEnabledOnPage: tabInfo.isEnabledOnPage
|
||||||
});
|
});
|
||||||
if (tabInfo.selectedText !== "") this.handleInputText(tabInfo.selectedText);
|
if (tabInfo.selectedText !== "") this.handleInputText(tabInfo.selectedText);
|
||||||
|
|
||||||
|
document.body.style.width = "348px";
|
||||||
};
|
};
|
||||||
|
|
||||||
handleInputText = inputText => {
|
handleInputText = inputText => {
|
||||||
|
|
|
@ -67,8 +67,6 @@ body {
|
||||||
font-family: "Segoe UI", "San Francisco", "Ubuntu", "Fira Sans", "Roboto",
|
font-family: "Segoe UI", "San Francisco", "Ubuntu", "Fira Sans", "Roboto",
|
||||||
"Arial", "Helvetica", sans-serif;
|
"Arial", "Helvetica", sans-serif;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
width: 100%;
|
|
||||||
min-width: 348px;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background-color: var(--main-bg);
|
background-color: var(--main-bg);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue