This commit is contained in:
Mateusz Hajder 2024-04-10 12:17:51 +02:00 committed by GitHub
commit ca5f46d037
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 15 additions and 1 deletions

View file

@ -50,6 +50,8 @@
html {
box-sizing: border-box;
-webkit-tap-highlight-color: transparent; /* remove tap highlight on touch devices */
min-height: calc(100% + env(safe-area-inset-top));
padding: env(safe-area-inset-top) env(safe-area-inset-right) 0 env(safe-area-inset-left);
}
*,
@ -961,6 +963,7 @@ background on hover (unless active) */
flex-shrink: 0;
display: flex;
justify-content: center;
margin-bottom: calc(env(safe-area-inset-bottom) / 2);
}
#footer button {
@ -2937,3 +2940,14 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */
justify-content: center;
align-items: center;
}
.mentions-popup {
margin-top: env(safe-area-inset-top);
}
#chat-container,
#connect,
#settings,
#help {
padding-bottom: calc(env(safe-area-inset-bottom) / 2);
}

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no">
<meta name="viewport" content="width=device-width, user-scalable=no, viewport-fit=cover">
<link rel="preload" as="script" href="js/loading-error-handlers.js?v=<%- cacheBust %>">
<link rel="preload" as="script" href="js/bundle.vendor.js?v=<%- cacheBust %>">