Skip to content

Commit

Permalink
fix side panel support
Browse files Browse the repository at this point in the history
  • Loading branch information
pomdtr committed Dec 7, 2023
1 parent 09e4028 commit 29c46ff
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
2 changes: 1 addition & 1 deletion extension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"page": "./options.html"
},
"side_panel": {
"default_path": "popup.html"
"default_path": "panel.html"
},
"commands": {
"create_terminal_tab": {
Expand Down
28 changes: 28 additions & 0 deletions extension/panel.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!doctype html>
<html>

<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Tweety</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
body {
margin: 0px;
width: 100vw;
height: 100vh;
}

iframe {
display: block;
border: 0px;
width: 100%;
height: 100%;
}
</style>
<script type="module" src="popup.js" defer></script>
</head>

<body></body>

</html>

0 comments on commit 29c46ff

Please sign in to comment.