diff options
author | Emmanuel ROHEE <erohee@amdocs.com> | 2014-08-12 18:11:38 +0200 |
---|---|---|
committer | Emmanuel ROHEE <erohee@amdocs.com> | 2014-08-12 18:11:38 +0200 |
commit | f99168de06d4f0de8a05ba89f1b56cd0d7f578d0 (patch) | |
tree | c10547bbe806727b67e0d870a32d445bb0f20be0 /webclient/app.css | |
parent | Capture the .gitignore file (diff) | |
download | synapse-f99168de06d4f0de8a05ba89f1b56cd0d7f578d0.tar.xz |
Make messages list and room users list scroll-overflow
Diffstat (limited to 'webclient/app.css')
-rw-r--r-- | webclient/app.css | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/webclient/app.css b/webclient/app.css index 6a9ea25b33..fd548c117b 100644 --- a/webclient/app.css +++ b/webclient/app.css @@ -52,11 +52,16 @@ h1 { /*** Participant list ***/ -.usersTable { +.usersTableWrapper { float: right; width: 120px; + height: 100%; + overflow-y: auto; +} + +.usersTable { + width: 100%; border-collapse: collapse; - margin-bottom: 150px; } .usersTable td { @@ -105,18 +110,29 @@ h1 { background-color: #FFCC00; } +/*** Room page ***/ + +/* Limit the height of the page content to 100% of the viewport height minus the + height of the header and the footer. + The two divs containing the messages list and the users list will then scroll- + overflow separetely. + */ +.room .page { + height: calc(100vh - 198px); +} /*** Message table ***/ .messageTableWrapper { width: auto; + height: 100%; margin-right: 140px; + overflow-y: auto; } .messageTable { width: 100%; border-collapse: collapse; - margin-bottom: 100px; } .messageTable td { |