-
- {contributors
- .filter((c) => contributorsNotFound.includes(c) === false)
- .map((contributor) => (
-
-
- {contributor}
-
- ))}
-
+ return (
+
+
+
+ {contributors
+ .filter((c) => contributorsNotFound.includes(c) === false)
+ .map((contributor) => (
+
+ ))}
-
- );
- }
+
+
+ );
}
diff --git a/src/components/Contributors/Contributors.scss b/src/components/Contributors/Contributors.scss
deleted file mode 100644
index 31862010bcc3..000000000000
--- a/src/components/Contributors/Contributors.scss
+++ /dev/null
@@ -1,47 +0,0 @@
-@import 'functions';
-@import 'mixins';
-
-.contributors__section {
- @media print {
- display: none;
- }
-}
-
-.contributors__list {
- font-size: 14px;
- margin-left: -0.5em;
-}
-
-.contributor {
- display: inline-flex;
- flex-direction: column;
- align-items: center;
- margin: 0.5em;
-
- img {
- height: 45px;
- width: 45px;
- border-radius: 50%;
- box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
- }
-
- .contributor__name {
- width: 110px;
- margin-top: -6px;
- padding: 0 6px;
- line-height: 1.4;
- border-radius: 2px;
- text-align: center;
- overflow-wrap: break-word;
- hyphens: auto;
- color: getColor(fiord);
- background: transparentize(getColor(white), 0.05);
- transition: color 0.1s;
- }
-
- &:hover {
- .contributor__name {
- color: lighten(getColor(denim), 5%);
- }
- }
-}
diff --git a/src/components/Page/Page.jsx b/src/components/Page/Page.jsx
index 2b6454ec08fc..82faeabd4a6e 100644
--- a/src/components/Page/Page.jsx
+++ b/src/components/Page/Page.jsx
@@ -114,8 +114,10 @@ export default function Page(props) {
)}
{loadContributors && (
-
-
Contributors
+
+
+ {contributors.length} Contributors
+
)}
diff --git a/tailwind.config.js b/tailwind.config.js
index f2359ca5321c..b379c2d54fc1 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -12,6 +12,9 @@ module.exports = {
fontSize: {
14: '14px',
},
+ gridTemplateColumns: {
+ contributors: 'repeat(auto-fit, 36px)',
+ },
},
spacing: {
0: '0px',