Skip to content

Commit

Permalink
feat: make popup view responsive (#2895)
Browse files Browse the repository at this point in the history
* feat: make popup view responsive

* fix: use tailwind classes

* fix: add icon for prompt

* fix: remove whitespace

---------

Co-authored-by: René Aaron <[email protected]>
Co-authored-by: René Aaron <[email protected]>
  • Loading branch information
3 people authored Dec 6, 2023
1 parent d8b46af commit db5f1e1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
15 changes: 7 additions & 8 deletions static/views/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,17 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Alby</title>
<meta property="og:site_name" content="Alby" />
<meta
property="og:image:url"
content="/assets/icons/alby_icon_yellow_128x128.png"
<link
rel="icon"
type="image/png"
href="assets/icons/alby_icon_yellow_32x32.png"
/>
<title>Alby</title>
</head>

<body
class="w-96 overflow-x-hidden bg-gray-50 dark:bg-surface-00dp slashed-zero"
style="height: 600px"
class="w-96 max-w-full overflow-x-hidden h-[600px] min-h-screen bg-gray-50 dark:bg-surface-00dp slashed-zero"
>
<div id="popup-root" style="height: 100%"></div>
<div id="popup-root" class="h-full"></div>
</body>
</html>
5 changes: 5 additions & 0 deletions static/views/prompt.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link
rel="icon"
type="image/png"
href="assets/icons/alby_icon_yellow_32x32.png"
/>
<title>Alby</title>
</head>

Expand Down

0 comments on commit db5f1e1

Please sign in to comment.