- fix chrome mobile form focus bug by specifying class. when form focuses media query widths change and may think portrait is in landcape and therefore hide the form.

- cleanup now unused methods
- jump to bottom from vue prop listener
This commit is contained in:
Ginger Wong
2020-06-18 00:06:10 -07:00
parent 594e1c774a
commit cf27b157e6
5 changed files with 69 additions and 82 deletions

View File

@@ -9,6 +9,17 @@
body {
font-size: 14px;
}
/* Tailwind sets list styles to none. I don't know why. */
ol {
list-style: decimal;
}
ul {
list-style: unset;
}
::-webkit-scrollbar {
width: 0px;
background: transparent;
@@ -378,6 +389,7 @@ header h1 {
display: none;
}
@media screen and (max-width: 640px ) {
:root {
--video-container-height: 36vh;
@@ -391,28 +403,20 @@ header h1 {
}
@media screen and (orientation: landscape) and (max-width: 1024px) {
:root {
:root .landscape {
--video-container-height: 75vh;
}
#main-mobile-container {
.touch-screen.landscape #chat-container-wrap {
margin-top: calc(var(--header-height) + var(--video-container-height));
}
.touch-screen .user-content {
.touch-screen.landscape .user-content {
display: block;
}
.touch-screen #chat-container {
.touch-screen.landscape #chat-container {
display: none;
}
.touch-screen #chat-toggle {
.touch-screen.landscape #chat-toggle {
display: none;
}
}
/* Tailwind sets list styles to none. I don't know why. */
ol {
list-style: decimal;
}
ul {
list-style: unset;
}