Improving styling a little bit
This commit is contained in:
		| @@ -29,7 +29,7 @@ const ComposerDrawer = React.createClass({ | ||||
|  | ||||
|   render () { | ||||
|     return ( | ||||
|       <div style={{ width: '380px', boxSizing: 'border-box', background: '#454b5e', margin: '10px', marginRight: '0', padding: '10px' }}> | ||||
|       <div style={{ width: '280px', boxSizing: 'border-box', background: '#454b5e', margin: '10px', marginRight: '0', padding: '10px' }}> | ||||
|         <textarea disabled={this.props.isSubmitting} placeholder='What is on your mind?' value={this.props.text} onKeyUp={this.handleKeyUp} onChange={this.handleChange} style={{ display: 'block', boxSizing: 'border-box', width: '100%', height: '100px', background: '#fff', resize: 'none', border: 'none', color: '#282c37', padding: '10px', fontFamily: 'Roboto', fontSize: '14px' }} /> | ||||
|  | ||||
|         <div style={{ marginTop: '10px', overflow: 'hidden' }}> | ||||
|   | ||||
| @@ -4,17 +4,17 @@ import PureRenderMixin from 'react-addons-pure-render-mixin'; | ||||
| moment.updateLocale('en', { | ||||
|   relativeTime : { | ||||
|     future: "in %s", | ||||
|     past:   "%s ago", | ||||
|     s:  "s", | ||||
|     m:  "a minute", | ||||
|     past:   "%s", | ||||
|     s:  "%ds", | ||||
|     m:  "1m", | ||||
|     mm: "%dm", | ||||
|     h:  "an hour", | ||||
|     h:  "1h", | ||||
|     hh: "%dh", | ||||
|     d:  "a day", | ||||
|     d:  "1d", | ||||
|     dd: "%dd", | ||||
|     M:  "a month", | ||||
|     M:  "1mo", | ||||
|     MM: "%dmo", | ||||
|     y:  "a year", | ||||
|     y:  "1y", | ||||
|     yy: "%dy" | ||||
|   } | ||||
| }); | ||||
|   | ||||
| @@ -21,7 +21,7 @@ const Status = React.createClass({ | ||||
|         <Avatar src={status.getIn(['account', 'avatar'])} /> | ||||
|  | ||||
|         <div style={{ flex: '1 1 auto', marginLeft: '10px' }}> | ||||
|           <div style={{ overflow: 'hidden' }}> | ||||
|           <div style={{ overflow: 'hidden', fontSize: '15px' }}> | ||||
|             <div style={{ float: 'right' }}> | ||||
|               <a href={status.get('url')} style={{ textDecoration: 'none' }}><RelativeTimestamp timestamp={status.get('created_at')} /></a> | ||||
|             </div> | ||||
| @@ -29,7 +29,7 @@ const Status = React.createClass({ | ||||
|             <DisplayName account={status.get('account')} /> | ||||
|           </div> | ||||
|  | ||||
|           <div className='status__content' dangerouslySetInnerHTML={content} style={{ fontSize: '14px' }} /> | ||||
|           <div className='status__content' dangerouslySetInnerHTML={content} /> | ||||
|         </div> | ||||
|       </div> | ||||
|     ); | ||||
|   | ||||
| @@ -1,6 +1,12 @@ | ||||
| .status__content { | ||||
|   font-size: 15px; | ||||
|   line-height: 20px; | ||||
|   white-space: pre-wrap; | ||||
|   word-wrap: break-word; | ||||
|   font-weight: 300; | ||||
|  | ||||
|   a { | ||||
|     color: #2b90d9; | ||||
|     color: #d9e1e8; | ||||
|     text-decoration: none; | ||||
|  | ||||
|     &:hover { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user