From 3dbf275443508da9dcc21feca2c6ebfc59dbf387 Mon Sep 17 00:00:00 2001
From: afn <47723802+afnzmn@users.noreply.github.com>
Date: Wed, 12 Oct 2022 07:10:32 -0400
Subject: [PATCH] fix: adjust credits spacing
---
src/lib/components/atoms/ContributorButton.svelte | 4 ++++
src/lib/components/molecules/ContributorHost.svelte | 2 +-
src/routes/credits/+page.svelte | 8 --------
3 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/src/lib/components/atoms/ContributorButton.svelte b/src/lib/components/atoms/ContributorButton.svelte
index 70e0a5d..cbaa59c 100644
--- a/src/lib/components/atoms/ContributorButton.svelte
+++ b/src/lib/components/atoms/ContributorButton.svelte
@@ -19,6 +19,7 @@
text-align: center;
padding: 0.5rem;
border-radius: 12px;
+ width:100px;
transition: all 0.3s var(--bezier-one);
}
@@ -44,6 +45,9 @@
h2 {
font-size: 1rem;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
}
img {
diff --git a/src/lib/components/molecules/ContributorHost.svelte b/src/lib/components/molecules/ContributorHost.svelte
index 279d58b..3dcddcd 100644
--- a/src/lib/components/molecules/ContributorHost.svelte
+++ b/src/lib/components/molecules/ContributorHost.svelte
@@ -44,7 +44,7 @@
gap: 1.5rem;
display: grid;
align-items: center;
- grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
+ grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
background-color: var(--grey-six);
padding: 1.5rem;
border-radius: 28px;
diff --git a/src/routes/credits/+page.svelte b/src/routes/credits/+page.svelte
index 7335c67..b716ceb 100644
--- a/src/routes/credits/+page.svelte
+++ b/src/routes/credits/+page.svelte
@@ -10,11 +10,3 @@
-
-
\ No newline at end of file