kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
TabsBar: move search to left
rodzic
9d0f235408
commit
ca9ff1a0e6
|
@ -12,7 +12,6 @@ import { openModal } from '../../../actions/modal';
|
||||||
import { openSidebar } from '../../../actions/sidebar';
|
import { openSidebar } from '../../../actions/sidebar';
|
||||||
import ThemeToggle from '../../ui/components/theme_toggle_container';
|
import ThemeToggle from '../../ui/components/theme_toggle_container';
|
||||||
import { getSoapboxConfig } from 'soapbox/actions/soapbox';
|
import { getSoapboxConfig } from 'soapbox/actions/soapbox';
|
||||||
import { getFeatures } from 'soapbox/utils/features';
|
|
||||||
|
|
||||||
const messages = defineMessages({
|
const messages = defineMessages({
|
||||||
post: { id: 'tabs_bar.post', defaultMessage: 'Post' },
|
post: { id: 'tabs_bar.post', defaultMessage: 'Post' },
|
||||||
|
@ -64,12 +63,13 @@ class TabsBar extends React.PureComponent {
|
||||||
<span><FormattedMessage id='tabs_bar.home' defaultMessage='Home' /></span>
|
<span><FormattedMessage id='tabs_bar.home' defaultMessage='Home' /></span>
|
||||||
</Link>
|
</Link>
|
||||||
)}
|
)}
|
||||||
</div>
|
|
||||||
<div className='tabs-bar__split tabs-bar__split--right'>
|
|
||||||
<div className='tabs-bar__search-container'>
|
<div className='tabs-bar__search-container'>
|
||||||
<SearchContainer openInRoute />
|
<SearchContainer openInRoute />
|
||||||
</div>
|
</div>
|
||||||
{ account &&
|
</div>
|
||||||
|
<div className='tabs-bar__split tabs-bar__split--right'>
|
||||||
|
{account &&
|
||||||
<>
|
<>
|
||||||
<ThemeToggle />
|
<ThemeToggle />
|
||||||
<div className='tabs-bar__profile'>
|
<div className='tabs-bar__profile'>
|
||||||
|
|
|
@ -47,6 +47,7 @@
|
||||||
&__search-container {
|
&__search-container {
|
||||||
display: block;
|
display: block;
|
||||||
width: 351px;
|
width: 351px;
|
||||||
|
align-self: center;
|
||||||
|
|
||||||
@media screen and (max-width: 895px) {
|
@media screen and (max-width: 895px) {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
Ładowanie…
Reference in New Issue