aboutsummaryrefslogtreecommitdiffstats
path: root/client/style.css
diff options
context:
space:
mode:
authorOpSimple <opsimple@protonmail.com>2018-06-17 20:32:03 +0200
committerGitHub <noreply@github.com>2018-06-17 20:32:03 +0200
commit7a2f3bde97c6eebb175ea4bacdcdb902693d451b (patch)
tree19397beaada6e47ef6c9c891d9fe15073fba1198 /client/style.css
parentMerge pull request #17 from OpSimple/patch-1 (diff)
downloadhackchat-7a2f3bde97c6eebb175ea4bacdcdb902693d451b.tar.gz
hackchat-7a2f3bde97c6eebb175ea4bacdcdb902693d451b.zip
Solved the sidebar scroll for mobile users
Solved the most annoying problem for the mobile clients, the sidebar scroll. Yeah, we've experienced this situation when we couldn't invite someone who's at the last end of the sidebar with our mobile browser cause sidebar spills out of the screen when there's a lot of users connected. But, now this is solved by fixing the height of sidebar container to 90% when shown and to 0% when hidden. Ah! I was really grieving to get rid of this shit.
Diffstat (limited to 'client/style.css')
-rw-r--r--client/style.css3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/style.css b/client/style.css
index 18abc33..1990c0b 100644
--- a/client/style.css
+++ b/client/style.css
@@ -52,6 +52,9 @@ ul li {
.hidden {
display: none;
}
+.expand {
+ height: 90%;
+}
.container {
max-width: 600px;
margin: 0 auto;