fix(mobile): comprehensive mobile rendering fixes for all platforms
- index.html: add viewport-fit=cover, user-scalable=no, maximum-scale=1, apple-mobile-web-app-capable, format-detection meta tags - close2.html: add missing viewport meta tag and mobile web app tags - _base.scss: add touch-action:manipulation and -webkit-tap-highlight-color on body for 300ms tap delay fix and Android tap flash removal - _videolayout_default.scss: fix invalid overflow:'hidden' (quoted string), add vh fallback before dvh for iOS 14 compat - _toolbars.scss: move :active states outside hover media query so touch devices get visual feedback on hangup button - _whiteboard.scss: add dvh/dvw fallback for iOS Safari address bar Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
2314d7d3f4
commit
bddd22453c
|
|
@ -33,6 +33,8 @@ body {
|
|||
overflow: hidden;
|
||||
color: #F1F1F1;
|
||||
background: #040404; // should match DEFAULT_BACKGROUND from interface_config
|
||||
touch-action: manipulation;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -111,11 +111,11 @@ div.hangup-button {
|
|||
&:hover {
|
||||
background-color: #E04757;
|
||||
}
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-color: #A21B29;
|
||||
}
|
||||
}
|
||||
|
||||
svg {
|
||||
fill: #fff;
|
||||
|
|
@ -129,11 +129,11 @@ div.hangup-menu-button {
|
|||
&:hover {
|
||||
background-color: #E04757;
|
||||
}
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-color: #A21B29;
|
||||
}
|
||||
}
|
||||
|
||||
svg {
|
||||
fill: #fff;
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@
|
|||
.videocontainer {
|
||||
position: relative;
|
||||
text-align: center;
|
||||
overflow: 'hidden';
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#localVideoWrapper {
|
||||
|
|
@ -287,9 +287,12 @@
|
|||
#avatarContainer {
|
||||
border-radius: 50%;
|
||||
display: inline-block;
|
||||
height: 50vh;
|
||||
height: 50dvh;
|
||||
margin-top: 25vh;
|
||||
margin-top: 25dvh;
|
||||
overflow: hidden;
|
||||
width: 50vh;
|
||||
width: 50dvh;
|
||||
|
||||
#avatar {
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
.excalidraw-wrapper {
|
||||
height: 100vh;
|
||||
height: 100dvh;
|
||||
width: 100vw;
|
||||
width: 100dvw;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,8 +3,11 @@
|
|||
<!--#include virtual="head.html" -->
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="content-type" content="text/html;charset=utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
|
||||
<meta name="theme-color" content="#1e1040">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||
<meta name="format-detection" content="telephone=no">
|
||||
<!--#include virtual="base.html" -->
|
||||
|
||||
<link rel="apple-touch-icon" href="images/apple-touch-icon.png">
|
||||
|
|
|
|||
|
|
@ -1,6 +1,9 @@
|
|||
<html>
|
||||
<head>
|
||||
<!--#include virtual="/base.html" -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||
<link rel="stylesheet" href="css/all.css"/>
|
||||
<!--#include virtual="/title.html" -->
|
||||
<script><!--#include virtual="/interface_config.js" --></script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue