diff --git a/internal/webserver/static/styles.css b/internal/webserver/static/styles.css index c5b70cb..0ca62b6 100644 --- a/internal/webserver/static/styles.css +++ b/internal/webserver/static/styles.css @@ -248,14 +248,17 @@ main { flex-basis: 0; flex-grow: 7; border-left: 1px solid var(--color-outline-gray); - padding: 0.5em; box-sizing: border-box; display: flex; flex-direction: column; + /* To position the participants list page */ + position: relative; + .chat-messages { flex-grow: 1; overflow-y: auto; + padding: 0 0.5em; } } } @@ -1248,12 +1251,26 @@ main { } .chat-header { - border-bottom: 1px solid var(--color-outline-gray); - padding: 0.5em; - display: flex; - justify-content: space-around; - background-color: var(--color-twitter-off-white); - margin: -0.5em -0.5em 0 -0.5em; + border-bottom: 1px solid var(--color-outline-gray); + padding: 0.5em; + display: flex; + justify-content: space-around; + background-color: var(--color-twitter-off-white); +} + +.groupchat-participants-list { + position: absolute; + background-color: white; + top: 4.2em; /* TODO: wtf is this number */ + left: 0; + right: 0; + bottom: 0; + overflow-y: scroll; + display: none; + + &.unhidden { + display: revert; + } } /** diff --git a/internal/webserver/tpl/tweet_page_includes/chat_view.tpl b/internal/webserver/tpl/tweet_page_includes/chat_view.tpl index e5ebfff..42af58a 100644 --- a/internal/webserver/tpl/tweet_page_includes/chat_view.tpl +++ b/internal/webserver/tpl/tweet_page_includes/chat_view.tpl @@ -102,7 +102,7 @@