webview android insets https://github.com/tauri-apps/tauri/issues/11475
This commit is contained in:
1 parent
e9d02dbec7
commit
863142902c
3 files changed
+35
-9
No files matched your search
@@ -661,7 +661,7 @@ onBeforeUnmount(() => {
|
||||
}
|
||||
|
||||
.modal {
|
||||
--margin-top: calc(120px + env(safe-area-inset-top));
|
||||
--margin-top: 120px;
|
||||
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
@@ -684,7 +684,7 @@ onBeforeUnmount(() => {
|
||||
|
||||
textarea {
|
||||
width: 100%;
|
||||
max-height: calc(90vh - var(--margin-top) - env(safe-area-inset-bottom));
|
||||
max-height: calc(90vh - var(--margin-top));
|
||||
padding: 1em;
|
||||
border-radius: 0 0 0.5em 0.5em;
|
||||
font-family: sans-serif;
|
||||
|
||||
Reference in new issue
Block a user