Skip to content

Commit 8d9b7a2

Browse files
committed
fix: revert view height and scrolling for macos
1 parent af2954f commit 8d9b7a2

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

src/ext/action-popup/Components/View.svelte

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,12 @@
4040
background-color: var(--color-bg-secondary);
4141
display: flex;
4242
flex-direction: column;
43-
left: 0;
4443
position: absolute;
4544
text-align: center;
4645
top: 0;
46+
left: 0;
4747
width: 100%;
48+
height: 100%;
4849
z-index: 3;
4950
}
5051
@@ -71,6 +72,18 @@
7172
7273
.view__body {
7374
flex-grow: 1;
75+
overflow-y: auto;
7476
position: relative;
7577
}
78+
79+
/* ios */
80+
@supports (-webkit-touch-callout: none) {
81+
.view {
82+
height: auto;
83+
}
84+
85+
.view__body {
86+
overflow-y: visible;
87+
}
88+
}
7689
</style>

0 commit comments

Comments
 (0)