Skip to content

Commit

Permalink
fix: reduce menu render jank
Browse files Browse the repository at this point in the history
  • Loading branch information
olizilla committed Dec 13, 2017
1 parent 85106e9 commit e383605
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion add-on/src/popup/browser-action/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width" />
</head>
<body>
<body style="width: 320px; overflow: hidden;">
<div id="root"></div>
<script src="../../ipfs-companion-common.js"></script>
<script src="browser-action.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion add-on/src/popup/browser-action/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module.exports = function browserActionPage (state, emit) {
const gwStatusProps = Object.assign({}, state)

return html`
<div class="helvetica" style="min-width: 320px">
<div class="helvetica">
${header(headerProps)}
${contextActions(contextActionsProps)}
${operations(opsProps)}
Expand Down

0 comments on commit e383605

Please sign in to comment.