]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/videos/+video-watch/comment/video-comment.component.scss
Don't break design on long description/comment
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-watch / comment / video-comment.component.scss
CommitLineData
4635f59d
C
1@import '_variables';
2@import '_mixins';
3
cf117aaa 4.root-comment {
4635f59d 5 font-size: 15px;
cf117aaa 6 display: flex;
4635f59d 7
cf117aaa
C
8 img {
9 @include avatar(36px);
4635f59d 10
cf117aaa
C
11 margin-top: 5px;
12 margin-right: 20px;
4635f59d
C
13 }
14
cf117aaa
C
15 .comment {
16 flex-grow: 1;
17
1263fc4e
C
18 .highlighted-comment {
19 display: inline-block;
20 background-color: #F5F5F5;
21 color: #3d3d3d;
22 padding: 0 5px;
23 font-size: 13px;
24 margin-bottom: 5px;
25 font-weight: $font-semibold;
26 border-radius: 3px;
27 }
28
cf117aaa
C
29 .comment-account-date {
30 display: flex;
31 margin-bottom: 4px;
4635f59d 32
cf117aaa 33 .comment-account {
4cb6d457
C
34 @include disable-default-a-behaviour;
35
36 color: #000;
cf117aaa
C
37 font-weight: $font-bold;
38 }
39
40 .comment-date {
41 color: #585858;
42 margin-left: 10px;
43 }
4635f59d 44 }
4635f59d 45
2890b615 46 .comment-html {
54a932e8
C
47 word-break: break-all;
48
2890b615
C
49 a {
50 @include disable-default-a-behaviour;
51
52 color: #000;
53 }
54 }
55
cf117aaa
C
56 .comment-actions {
57 margin: 10px 0;
4cb6d457 58 display: flex;
4635f59d 59
4cb6d457 60 .comment-action-reply, .comment-action-delete {
cf117aaa
C
61 color: #585858;
62 cursor: pointer;
4cb6d457
C
63 margin-right: 10px;
64
65 &:hover {
66 color: #000;
67 }
cf117aaa
C
68 }
69 }
4635f59d
C
70 }
71}