Scroll text inputs into view, use red labels in text inputs when theres an error, only autocapitalize the name field
This commit is contained in:
parent
f5de115534
commit
d2c1297cf7
12 changed files with 204 additions and 137 deletions
|
@ -1,4 +1,5 @@
|
|||
import React, { PureComponent } from 'react';
|
||||
import classnames from 'classnames';
|
||||
import TabListItem from './TabListItem';
|
||||
|
||||
export default class TabList extends PureComponent {
|
||||
|
@ -8,9 +9,12 @@ export default class TabList extends PureComponent {
|
|||
|
||||
render() {
|
||||
const { tab, channels, servers, privateChats, showTabList } = this.props;
|
||||
const className = showTabList ? 'tablist off-canvas' : 'tablist';
|
||||
const tabs = [];
|
||||
|
||||
const className = classnames('tablist', {
|
||||
'off-canvas': showTabList
|
||||
});
|
||||
|
||||
channels.forEach(server => {
|
||||
const { address } = server;
|
||||
const srv = servers[address];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue