Skip to content

Commit

Permalink
Bolden course names on queue cards (#178)
Browse files Browse the repository at this point in the history
* Use h5 for the CardTitle tag

`reactstrap` 7.0.0 changed the default `CardTitle` tag to be `div`
instead of `h5` which introduced a regression.

See reactstrap/reactstrap#1298

* Update CHANGELOG.md

* Fix grammar in changelog

* Use Bootstrap h5 class instead of changing the tag
  • Loading branch information
james9909 authored and nwalters512 committed Jan 19, 2019
1 parent 46e4b76 commit 77dd51b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -6,6 +6,7 @@ When a new version is deployed, the changes since the last deploy should be labe
with the current date and the next changes should go under a **[Next]** header.

## [Next]
* Fix regression where course names in `QueueCard`s would not be bold. ([@james9909](https://github.com/james9909) in [#178](https://github.com/illinois/queue/pull/178))

* Alert last on duty staff of option to close queue when leaving. ([@AlpriElse](https://github.com/AlpriElse) in [#173](https://github.com/illinois/queue/pull/173))
* Use enter key to submit new question, new course, or new queue. ([@rohinb2](https://github.com/rohinb2) in [#161](https://github.com/illinois/queue/pull/161))
Expand Down
2 changes: 1 addition & 1 deletion src/components/QueueCard.js
Expand Up @@ -46,7 +46,7 @@ const QueueCard = ({
>
<CardBody>
<CardTitle className="d-flex flex-wrap align-items-center">
<span className="mb-2 mr-auto pr-3">{title}</span>
<span className="h5 mb-2 mr-auto pr-3">{title}</span>
<div>
<ShowForCourseStaff courseId={queue.courseId}>
<Button color="danger" size="sm" outline onClick={handleDelete}>
Expand Down

0 comments on commit 77dd51b

Please sign in to comment.