We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8b00e4 commit 0599bc8Copy full SHA for 0599bc8
src/views/popup/index.html
@@ -47,14 +47,11 @@
47
48
#app-popup {
49
display: flex;
50
- width: 45rem;
+ width: 800px;
51
max-width: 800px;
52
- height: 37rem;
+ height:600px;
53
max-height: 600px;
54
overflow: hidden;
55
- transition:
56
- width 1s,
57
- height 2s;
58
}
59
60
#app-skeleton-container {
src/views/popup/main.ts
@@ -1,5 +1,12 @@
1
import defineComponent from '~/web/define-component';
2
3
+const root = document?.getElementById('app-popup');
4
+
5
+if (root) {
6
+ root.style.width = `${window.innerWidth}px`;
7
+ root.style.height = `${window.innerHeight}px`;
8
+}
9
10
defineComponent({ baseUrl: import.meta.env.VITE_BASE })
11
.then(() => console.info('Web Component defined'))
12
.catch(err => console.error('Failed to define component', err));
0 commit comments