Archived
2
0
Fork 0

Fix #341 - Remove react-responsive in favour of simpler resize handler/window width

This commit is contained in:
Eugen Rochko 2016-12-06 19:18:37 +01:00
parent 2ef9f36cf2
commit bf5f8a2449
6 changed files with 58 additions and 45 deletions

View file

@ -5,8 +5,7 @@ const outerStyle = {
background: '#373b4a',
margin: '10px',
flex: '0 0 auto',
marginBottom: '0',
display: 'flex'
marginBottom: '0'
};
const tabStyle = {
@ -28,7 +27,7 @@ const tabActiveStyle = {
const TabsBar = () => {
return (
<div style={outerStyle}>
<div className='tabs-bar' style={outerStyle}>
<Link style={tabStyle} activeStyle={tabActiveStyle} to='/statuses/new'><i className='fa fa-fw fa-pencil' /> <FormattedMessage id='tabs_bar.compose' defaultMessage='Compose' /></Link>
<Link style={tabStyle} activeStyle={tabActiveStyle} to='/timelines/home'><i className='fa fa-fw fa-home' /> <FormattedMessage id='tabs_bar.home' defaultMessage='Home' /></Link>
<Link style={tabStyle} activeStyle={tabActiveStyle} to='/notifications'><i className='fa fa-fw fa-bell' /> <FormattedMessage id='tabs_bar.notifications' defaultMessage='Notifications' /></Link>