Skip to content

Commit

Permalink
Chore: Fix broken scaler section layout on smaller screen
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisobate committed Jun 22, 2022
1 parent 8d748b9 commit a07d94a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions assets/sass/card.sass
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@

&-content
flex: 1

&-item-wrap
flex-wrap: wrap

&.is-collapsible
& + &
Expand Down
4 changes: 2 additions & 2 deletions layouts/_default/scaler-info.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
{{ if or $availability $maintainer }}
<footer class="card-footer">
{{ with $availability }}
<div class="card-footer-item is-spaced">
<div class="card-footer-item is-spaced card-item-wrap">
Availability&nbsp;<span class="has-text-weight-bold">{{ . }}</span>
</div>
{{ end }}

{{ with $maintainer }}
<div class="card-footer-item">
<div class="card-footer-item card-item-wrap">
Maintainer:&nbsp;<span class="has-text-weight-bold">{{ . }}</span>
</div>
{{ end }}
Expand Down

0 comments on commit a07d94a

Please sign in to comment.