Skip to content

Commit 5945105

Browse files
committed
fix(popup): adds overflow hidden to prevent unwanted scrollbars
1 parent 650d7e7 commit 5945105

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/components/AppComponent.vue

+1
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ main {
141141
justify-content: center;
142142
min-height: calc(100% - #{layout.$header-navbar-height});
143143
margin-top: layout.$header-navbar-height;
144+
overflow: hidden;
144145
}
145146
146147
.panel {

src/views/popup/index.html

+7-2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121
</html>
2222

2323
<style>
24+
html {
25+
overflow: hidden;
26+
scrollbar-width: none;
27+
}
28+
2429
body {
2530
overscroll-behavior: none;
2631
margin: 0;
@@ -49,7 +54,7 @@
4954
display: flex;
5055
width: 800px;
5156
max-width: 800px;
52-
height:600px;
57+
height: 600px;
5358
max-height: 600px;
5459
overflow: hidden;
5560
}
@@ -64,7 +69,7 @@
6469
background: rgba(0 0 0 / 30%);
6570

6671
&:hover {
67-
background:rgba(0 0 0 / 60%);
72+
background: rgba(0 0 0 / 60%);
6873
}
6974
}
7075

0 commit comments

Comments
 (0)