Skip to content

Commit

Permalink
update semantic ui, use placeholder for empty message segment
Browse files Browse the repository at this point in the history
  • Loading branch information
0x46616c6b committed Nov 8, 2018
1 parent 67c66dc commit 16d1e01
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 19 deletions.
45 changes: 31 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
"react-router-dom": "^4.3.1",
"react-twitter-auth": "0.0.12",
"resolve": "^1.8.1",
"semantic-ui-css": "^2.3.3",
"semantic-ui-react": "^0.82.3",
"semantic-ui-css": "^2.4.1",
"semantic-ui-react": "^0.83.0",
"style-loader": "^0.23.0",
"uglifyjs-webpack-plugin": "^1.3.0",
"url-loader": "^1.1.1",
Expand Down
6 changes: 3 additions & 3 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,9 @@ class App extends Component {
renderMessages () {
if (this.state.messages === undefined || this.state.messages.length === 0) {
return (
<Segment style={{margin: '2em 0 0'}}>
<Header icon size={'small'}>
<Icon name='hourglass half' color={'grey'} size={'small'}/>
<Segment placeholder>
<Header icon>
<Icon name='hourglass half' color={'grey'}/>
We dont have any messages at the moment.
</Header>
</Segment>
Expand Down

0 comments on commit 16d1e01

Please sign in to comment.