aboutsummaryrefslogtreecommitdiff
path: root/client-web/style/chat.sass
blob: ea5f06f6f7c644cd530e8232896dc2c71742973d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 This file is part of keks-meet (https://codeberg.org/metamuffin/keks-meet)
 which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
 Copyright (C) 2023 metamuffin <metamuffin.org>

.chat
    display: flex
    flex-direction: column

    .message
        margin: 0.2em
    .author
        font-weight: bold
    .text
        color: white
    .image
        width: min(20em, 30vw)
        max-height: 50em // TODO squishes the image if too high

    .messages
        flex: 1
        width: 100%
        overflow: scroll

    .controls
        flex: 0
        padding: 1em
    
    input
        font-size: x-large
        width: 100%