-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathmessage.css
More file actions
47 lines (40 loc) · 770 Bytes
/
Copy pathmessage.css
File metadata and controls
47 lines (40 loc) · 770 Bytes
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
.message {
max-width: 100%;
display: grid;
grid-template-areas:
"title time"
"body body"
"tags tags"
"image image";
grid-template-columns: repeat(2, minmax(0, 1fr));
align-content: space-between;
padding: 10px;
}
.messagetitle {
grid-area: title;
font-size: 1.2em;
padding-left: 5px;
overflow: hidden;
margin-top: 0px;
}
.messagetime {
grid-area: time;
justify-self: right;
padding-right: 5px;
margin-top: 0px;
}
.messagebody {
grid-area: body;
padding-left: 5px;
padding-right: 5px;
white-space: pre-line;
}
.messagetags {
grid-area: tags;
}
.messageimage {
grid-area: image;
max-width: 100%;
max-height: 25vh;
justify-self: center;
}