Skip to content

Commit

Permalink
feat: for popup view, allow html full view but restrain body's width.
Browse files Browse the repository at this point in the history
  • Loading branch information
richardo2016x committed Nov 24, 2022
1 parent 2ead399 commit 79e07b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ui/popup.ejs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html translate="no" class="notranslate overflow-hidden w-[400px] h-full">
<html translate="no" class="notranslate overflow-hidden w-[100vw] h-full">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
Expand All @@ -25,7 +25,7 @@
}
</style> -->
</head>
<body class="h-full w-[400px] h-full">
<div id="root" class="h-full overflow-x-hidden"></div>
<body class="h-full w-[400px] m-auto">
<div id="root" class="h-full ww-full overflow-x-hidden"></div>
</body>
</html>

0 comments on commit 79e07b9

Please sign in to comment.