mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
align the chat-views position to the bottom of the page to overcome view-height bugs (#593)
* align the chat-views position to the bottom of the page * introduce a media query to make chat scrolling work on mobile
This commit is contained in:
parent
3719dd04f5
commit
e6fd7fe871
@ -3,13 +3,19 @@
|
|||||||
#chat-container {
|
#chat-container {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 9;
|
z-index: 9;
|
||||||
top: var(--header-height);
|
bottom: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
width: var(--right-col-width);
|
width: var(--right-col-width);
|
||||||
|
|
||||||
height: calc(100vh - var(--header-height));
|
height: calc(100vh - var(--header-height));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 729px) {
|
||||||
|
#chat-container {
|
||||||
|
top: var(--header-height);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#message-input-container {
|
#message-input-container {
|
||||||
width: var(--right-col-width);
|
width: var(--right-col-width);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user