Skip to content

Commit 8a526e7

Browse files
authored
Change contributors shortcode styling so it's more compact (#1652)
1 parent 24506ff commit 8a526e7

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

sass/components/_contributors.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.contributors {
2+
display: grid;
3+
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
4+
list-style: none;
5+
padding: 0 !important;
6+
}

sass/site.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
@import "components/callout";
3434
@import "components/card";
3535
@import "components/container";
36+
@import "components/contributors";
3637
@import "components/example";
3738
@import "components/header";
3839
@import "components/icon";

templates/shortcodes/contributors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

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

8-
<ul>
8+
<ul class="contributors">
99
{% for contributor in data.contributors %}
1010
<li>{{ contributor.name }}</li>
1111
{% endfor %}

0 commit comments

Comments
 (0)