| |
@@ -15,17 +15,31 @@
|
| |
alt=""
|
| |
/>
|
| |
</div>
|
| |
- <div className={`media-body ${this.props.showDropdown ? "pr-3" : ""}`}>
|
| |
- { this.props.showDropdown &&
|
| |
+ <div className={`media-body align-self-center`}>
|
| |
+ <a
|
| |
+ href={this.props.url}
|
| |
+ className="d-block"
|
| |
+ target="_blank"
|
| |
+ >
|
| |
+ {this.props.title}
|
| |
+ </a>
|
| |
+ <p className="mb-0 description">
|
| |
+ <small>
|
| |
+ {this.props.description}
|
| |
+ </small>
|
| |
+ </p>
|
| |
+ </div>
|
| |
+ { this.props.showDropdown &&
|
| |
<div
|
| |
- className="dropdown"
|
| |
+ className="dropdown align-self-center"
|
| |
>
|
| |
<button
|
| |
- className="btn btn-link text-secondary dropdown-toggle"
|
| |
+ className="btn btn-link text-secondary"
|
| |
data-toggle="dropdown"
|
| |
aria-haspopup="true"
|
| |
aria-expanded="false"
|
| |
>
|
| |
+ <i className="fa fa-cog"></i>
|
| |
</button>
|
| |
<div
|
| |
className="dropdown-menu dropdown-menu-right"
|
| |
@@ -46,19 +60,6 @@
|
| |
</div>
|
| |
</div>
|
| |
}
|
| |
- <a
|
| |
- href={this.props.url}
|
| |
- className="d-block"
|
| |
- target="_blank"
|
| |
- >
|
| |
- {this.props.title}
|
| |
- </a>
|
| |
- <p className="mb-0 description">
|
| |
- <small>
|
| |
- {this.props.description}
|
| |
- </small>
|
| |
- </p>
|
| |
- </div>
|
| |
</li>
|
| |
);
|
| |
}
|
| |
Is this really necessary? I don't see where you're applying the
btn
class to anything but abutton
or aa
element, and those already change the cursor to a pointer, don't they?