fix: title bar drag region

This commit is contained in:
Konstantinos Kaloutas
2022-11-18 14:35:45 +02:00
committed by Tienson Qin
parent e618f5d1f7
commit 5abbf8b198
2 changed files with 9 additions and 7 deletions

View File

@@ -1,8 +1,6 @@
.cp__header {
@apply z-10;
-webkit-app-region: drag;
padding-top: var(--ls-headbar-inner-top-padding);
height: calc(var(--ls-headbar-height) + var(--ls-headbar-inner-top-padding));
display: flex;
@@ -13,7 +11,6 @@
top: 0;
left: 0;
right: 0;
user-select: none;
line-height: 1;
white-space: nowrap;
@@ -351,3 +348,8 @@ html.is-zoomed-native-ios {
--ls-headbar-height: 2.5rem;
}
}
.drag-region {
user-select: none;
-webkit-app-region: drag;
}