Skip to content

Commit

Permalink
feat(DeparutreCard): Align the carat with the center of the card
Browse files Browse the repository at this point in the history
  • Loading branch information
kotva006 committed Sep 26, 2023
1 parent 958c3ff commit 9b4327c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions apps/site/assets/css/_flex.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@
.align-items-center {
align-items: center;
}

.align-self-center {
align-self: center;
}
2 changes: 1 addition & 1 deletion apps/site/assets/ts/stop/components/DepartureTimes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ const ClickableDepartureRow = ({
{breakTextAtSlash(headsignName)}
</div>
{children}
<div style={{ marginLeft: "0.5em" }}>
<div style={{ marginLeft: "0.5em" }} className="d-flex align-self-center">
{renderFa("fa-fw", "fa-angle-right")}
</div>
</div>
Expand Down

0 comments on commit 9b4327c

Please sign in to comment.