1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-21 21:30:08 +00:00

Improve CSS to avoid errors in some styles

This commit is contained in:
Maximilian Mader 2018-08-19 02:11:43 +02:00
parent 525e4c10c7
commit 84c706bf89
Signed by: Max
GPG Key ID: F71D56A3151C4FB3

View File

@ -547,6 +547,17 @@ #tpl_chat_log {
html.fullscreen { html.fullscreen {
#tpl_chat_room, #tpl_chat_room,
#tpl_chat_log { #tpl_chat_log {
// Some styles might limit the pageContainers width and height,
// we remove margins and paddings here as it shouldnt cause problems
// in most styles but might fix more.
.pageContainer {
margin: 0;
padding: 0;
max-height: 100%;
max-width: 100%;
width: 100%;
}
.pageHeaderContainer, .pageHeaderContainer,
.pageNavigation, .pageNavigation,
.pageFooter { .pageFooter {
@ -555,7 +566,7 @@ html.fullscreen {
.main { .main {
@include screen-sm-up { @include screen-sm-up {
height: 0; // Workaround to get Firefox and Chrome to behave the same regarding page overflow height: 100vh;
} }
padding: 14px 0; padding: 14px 0;