Skip to content

Commit

Permalink
feat: reverse the journey list (properly this time)
Browse files Browse the repository at this point in the history
  • Loading branch information
davwheat committed Jun 5, 2023
1 parent 45f115e commit d273a37
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions common.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,15 @@ section {
padding: 1em;
}

ol.reversed {
display: flex;
flex-direction: column-reverse;
}

ol.reversed li {
flex: 0 0 auto;
}

/* mobile rules */
@media screen and (max-width: 720px) {
header nav {
Expand Down
2 changes: 1 addition & 1 deletion localstorage.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ <h2>Manage Journeys</h2>
</section>

<section>
<ol id="out">
<ol id="out" class="reversed">

</ol>
</section>
Expand Down

0 comments on commit d273a37

Please sign in to comment.