Skip to content

Commit

Permalink
Change contributors shortcode styling so it's more compact (#1652)
Browse files Browse the repository at this point in the history
  • Loading branch information
doup authored Oct 20, 2024
1 parent 24506ff commit 8a526e7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions sass/components/_contributors.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.contributors {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
list-style: none;
padding: 0 !important;
}
1 change: 1 addition & 0 deletions sass/site.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
@import "components/callout";
@import "components/card";
@import "components/container";
@import "components/contributors";
@import "components/example";
@import "components/header";
@import "components/icon";
Expand Down
2 changes: 1 addition & 1 deletion templates/shortcodes/contributors.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

A huge thanks to the {{ data.contributors | length }} contributors that made this release (and associated docs) possible! In random order:

<ul>
<ul class="contributors">
{% for contributor in data.contributors %}
<li>{{ contributor.name }}</li>
{% endfor %}
Expand Down

0 comments on commit 8a526e7

Please sign in to comment.