Skip to content

Commit

Permalink
tweak: center cycles count
Browse files Browse the repository at this point in the history
  • Loading branch information
chase-moskal committed Sep 13, 2024
1 parent 6f255ca commit 7a62d3a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion s/dom/views/gaming/action-bar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export const ActionBarView = nexus.shadowView(use => ({
</div>
</div>
<div class="chunk stretch">
<div class="chunk stretch center">
<div class="cycles">
cycle ${Math.floor(turnCount / 2) + 1}
</div>
Expand Down Expand Up @@ -140,6 +140,7 @@ export const styles = css`
&.static { flex: 0 0 auto; }
&.stretch { flex: 1 1 auto; }
&.center { justify-content: center; }
}
.cycles {
Expand Down

0 comments on commit 7a62d3a

Please sign in to comment.