0

mobile considerations

This commit is contained in:
Ginger Wong 2020-06-04 02:31:41 -07:00
parent 35a3a907c5
commit 33f994fcfd
2 changed files with 56 additions and 3 deletions

View File

@ -23,7 +23,7 @@
Maybe a header Maybe a header
</h1> </h1>
</header> </header>
<div id="main-content-container" class="flex no-chat"> <div id="main-content-container" class="flex nxo-chat">
<!-- LEFT CONTAINER SIDE--> <!-- LEFT CONTAINER SIDE-->
<div class="flex main-cols left-col"> <div class="flex main-cols left-col">
@ -40,7 +40,7 @@
<div id="info"> <div id="info">
{{ streamStatus }} {{ viewerCount }} {{ 'viewer' | plural(viewerCount) }}. {{ streamStatus }} {{ viewerCount }} {{ 'viewer' | plural(viewerCount) }}.
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only fpesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
</div> </div>

View File

@ -49,8 +49,8 @@ header h1 {
.left-col { .left-col {
width: calc(100vw - 24em); width: calc(100vw - 24em);
} }
#video-container { #video-container {
width: 100%; width: 100%;
height: auto; height: auto;
@ -84,4 +84,57 @@ header h1 {
} }
.no-chat .right-col { .no-chat .right-col {
display: none; display: none;
}
@media screen and (max-width: 860px) {
#chat-container {
width: 20em;
}
.left-col {
width: calc(100vw - 20em);
}
}
@media screen and (max-width: 640px ) and (orientation: portrait) {
#main-content-container {
flex-direction: column;
justify-content: space-between;
height: calc(100vh - 3em);
}
.main-cols {
width: 100vw;
}
.left-col {
flex-direction: column;
justify-content: stretch;
}
.right-col {
overflow: hidden;
}
#info {
display: none;
overflow: auto;
height: auto;
}
#chat-container {
width: 100%;
height: 100%;
position: relative;
height: auto;
}
.no-chat .left-col {
height: 100%;
}
.no-chat .right-col {
display: none;
}
.no-chat #info {
display: block;
}
} }