diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/client/react/components/container/Search.js | 10 | ||||
-rw-r--r-- | src/client/react/components/container/WeekSelector.js | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/client/react/components/container/Search.js b/src/client/react/components/container/Search.js index edaf72c..991ef5b 100644 --- a/src/client/react/components/container/Search.js +++ b/src/client/react/components/container/Search.js @@ -33,7 +33,7 @@ import Menu from './Menu'; import Results from './Results'; import IconFromUserType from '../presentational/IconFromUserType'; -import styles from './Search.scss'; +import './Search.scss'; class Search extends React.Component { static propTypes = { @@ -145,10 +145,10 @@ class Search extends React.Component { searchText === users.byId[urlUser].value; return ( - <div className={styles.Search}> - <div className={classnames(styles.overflow, { [styles.hasFocus]: hasFocus })}> - <div className={styles.inputWrapper}> - <div className={styles.iconWrapper}> + <div className="Search"> + <div className={classnames('overflow', { hasFocus })}> + <div className="inputWrapper"> + <div className="iconWrapper"> <IconFromUserType userType={isExactMatch ? users.byId[urlUser].type : null} defaultIcon={<SearchIcon />} diff --git a/src/client/react/components/container/WeekSelector.js b/src/client/react/components/container/WeekSelector.js index f0da1b2..a8f5936 100644 --- a/src/client/react/components/container/WeekSelector.js +++ b/src/client/react/components/container/WeekSelector.js @@ -29,7 +29,7 @@ import ArrowForwardIcon from 'react-icons/lib/md/arrow-forward'; import purifyWeek from '../../lib/purifyWeek'; import { setWeek, weekFromLocation } from '../../lib/url'; -import styles from './WeekSelector.scss'; +import './WeekSelector.scss'; class WeekSelector extends React.Component { static propTypes = { @@ -69,9 +69,9 @@ class WeekSelector extends React.Component { render() { return ( - <div className={styles.WeekSelector}> + <div className="WeekSelector"> <button onClick={() => this.updateWeek(-1)}><ArrowBackIcon /></button> - <div className={styles.text}>{this.getWeekText()}</div> + <div className="text">{this.getWeekText()}</div> <button onClick={() => this.updateWeek(+1)}><ArrowForwardIcon /></button> </div> ); |