File tree Expand file tree Collapse file tree 4 files changed +51
-36
lines changed
matrix-react-sdk/views/rooms Expand file tree Collapse file tree 4 files changed +51
-36
lines changed Original file line number Diff line number Diff line change 46
46
margin-bottom : 16px ;
47
47
}
48
48
49
+ a {
50
+ text-decoration : none;
51
+ }
52
+
53
+ a : hover {
54
+ text-decoration : underline;
55
+ }
56
+
49
57
a : hover ,
50
58
a : link ,
51
59
a : visited {
Original file line number Diff line number Diff line change @@ -64,16 +64,12 @@ limitations under the License.
64
64
margin-right : 95px ;
65
65
}
66
66
67
- /* all the overflow-y: hidden; are to trap Zalgos -
68
- but they introduce an implicit overflow-x: auto.
69
- so make that explicitly hidden too to avoid random
70
- horizontal scrollbars occasionally appearing, like in
67
+ /* Removed hidden overflow in order to have hanging elements
68
+ in the message stream gutters. This may re-introduce
71
69
https://github.com/vector-im/vector-web/issues/1154
72
- */
70
+ */
73
71
.mx_EventTile_content {
74
72
display : block;
75
- overflow-y : hidden;
76
- overflow-x : hidden;
77
73
}
78
74
79
75
/* Various markdown overrides */
Original file line number Diff line number Diff line change @@ -15,51 +15,47 @@ limitations under the License.
15
15
*/
16
16
17
17
.mx_LinkPreviewWidget {
18
+ position : relative;
18
19
margin-top : 15px ;
19
- margin-right : 15px ;
20
- margin-bottom : 15px ;
21
- display : -webkit-flex;
22
- display : flex;
23
- border-left : 4px solid # ddd ;
24
- color : # 888 ;
25
20
}
26
21
27
- .mx_LinkPreviewWidget_image {
28
- -webkit-flex : 0 0 100px ;
29
- flex : 0 0 100px ;
30
- margin-left : 15px ;
31
- text-align : center;
32
- cursor : pointer;
22
+ .mx_LinkPreviewWidget : before {
23
+ position : absolute;
24
+ z-index : 1 ;
25
+ content : '\0020' ;
26
+ top : 0 ;
27
+ left : -15px ;
28
+ width : 1px ;
29
+ height : 100% ;
30
+ background-color : # dddddd ;
31
+ }
32
+
33
+ .mx_LinkPreviewWidget_indicator {
34
+ position : absolute;
35
+ z-index : 1 ;
36
+ top : 2px ;
37
+ left : -40px ;
33
38
}
34
39
35
40
.mx_LinkPreviewWidget_caption {
36
- margin-left : 15px ;
37
- -webkit-flex : 1 1 auto;
38
- flex : 1 1 auto;
41
+ margin-bottom : 10px ;
39
42
}
40
43
41
44
.mx_LinkPreviewWidget_title {
42
- display : inline;
43
45
font-weight : bold;
44
46
}
45
47
46
48
.mx_LinkPreviewWidget_siteName {
47
- display : inline;
49
+ opacity : 0.5 ;
50
+ font-size : 13px ;
51
+ line-height : 18px ;
48
52
}
49
53
50
- .mx_LinkPreviewWidget_description {
51
- margin-top : 8px ;
52
- white-space : normal;
53
- word-break : break-word;
54
+ .mx_LinkPreviewWidget_image {
55
+ margin-top : 10px ;
56
+ margin-bottom : 10px ;
54
57
}
55
58
56
- .mx_LinkPreviewWidget_cancel {
57
- visibility : hidden;
59
+ .mx_LinkPreviewWidget_image img {
58
60
cursor : pointer;
59
- -webkit-flex : 0 0 40px ;
60
- flex : 0 0 40px ;
61
- }
62
-
63
- .mx_LinkPreviewWidget : hover .mx_LinkPreviewWidget_cancel {
64
- visibility : visible;
65
61
}
You can’t perform that action at this time.
0 commit comments