File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 margin-bottom : 16px ;
3535}
3636
37+ a : hover ,
38+ a : link ,
39+ a : visited {
40+ color : # 80CEF4;
41+ }
42+
3743. mx_ContextualMenu_background {
3844 position : fixed;
3945 top : 0 ;
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ limitations under the License.
7272}
7373
7474. mx_MessageTile_highlight {
75- color : # 00f ;
75+ color : # FF0064 ;
7676}
7777
7878. mx_MessageTile_msgOption {
Original file line number Diff line number Diff line change @@ -116,13 +116,16 @@ limitations under the License.
116116 margin-top : -5px ;
117117}
118118
119- . mx_RoomHeader_nameInput {
119+ . mx_RoomHeader_name input , . mx_RoomHeader_nameInput {
120120 border-radius : 3px ;
121121 width : 260px ;
122122 border : 1px solid # c7c7c7;
123123 font-weight : 300 ;
124124 font-size : 14px ;
125125 padding : 9px ;
126+ }
127+
128+ . mx_RoomHeader_nameInput {
126129 margin-top : 6px ;
127130}
128131
Original file line number Diff line number Diff line change @@ -106,8 +106,6 @@ limitations under the License.
106106 flex : 1 1 0 ;
107107
108108 width : 100% ;
109- margin-top : 18px ;
110- margin-bottom : 18px ;
111109
112110 overflow-y : auto;
113111}
Original file line number Diff line number Diff line change @@ -24,11 +24,20 @@ module.exports = React.createClass({
2424 displayName : 'MessageTimestamp' ,
2525 mixins : [ MessageTimestampController ] ,
2626
27+ formatDate : function ( date ) {
28+ // date.toLocaleTimeString is completely system dependent.
29+ // just go 24h for now
30+ function pad ( n ) {
31+ return ( n < 10 ? '0' : '' ) + n ;
32+ }
33+ return pad ( date . getHours ( ) ) + ':' + pad ( date . getMinutes ( ) ) ;
34+ } ,
35+
2736 render : function ( ) {
2837 var date = new Date ( this . props . ts ) ;
2938 return (
3039 < span className = "mx_MessageTimestamp" >
31- { date . toLocaleTimeString ( ) }
40+ { this . formatDate ( date ) }
3241 </ span >
3342 ) ;
3443 } ,
You can’t perform that action at this time.
0 commit comments