Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Mar 9, 2021. It is now read-only.

#37 multiline span on landing page in events card #58

Merged
merged 4 commits into from
Oct 25, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
multiline prop added for display
  • Loading branch information
abiduzz420 committed Oct 25, 2017
commit 978321adca6bd0481b5bebf10d799fbc07a6e438
3 changes: 2 additions & 1 deletion components/row-events.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const extractImageUrl = input => {

const RowEvent = ({
link,
isMultiLine,
fluid,
description,
name,
Expand Down Expand Up @@ -49,7 +50,7 @@ const RowEvent = ({
}
.card_icons {
margin-right: 15px;
display: block;
display: ${isMultiLine ? 'block' : null};
}
@media (max-width: 700px) {
.card_icons {
Expand Down
1 change: 1 addition & 0 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ class Home extends React.Component {
<div className="content">
{this.state.indexPageEvent ? (
<RowEvent
isMultiLine={true}
key={this.state.indexPageEvent.id}
name={this.state.indexPageEvent.name}
description={this.state.indexPageEvent.description}
Expand Down