aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-03-03 22:48:31 +0100
committerArmand Philippot <git@armandphilippot.com>2022-03-03 22:48:31 +0100
commitb92d7bdd5d8695a9c6a2e64c3e3147d723ec7533 (patch)
treeb5f4eca1be51709db2557f294e9a4e48ca03f0ba /src
parent6d99a308924a3ef286e2de6537a8733388527441 (diff)
chore: change recent posts alignement
Instead of align them to left on small screens, I decided to centered them.
Diffstat (limited to 'src')
-rw-r--r--src/components/Widgets/RecentPosts/RecentPosts.module.scss1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/Widgets/RecentPosts/RecentPosts.module.scss b/src/components/Widgets/RecentPosts/RecentPosts.module.scss
index 0b1e0d8..1b85265 100644
--- a/src/components/Widgets/RecentPosts/RecentPosts.module.scss
+++ b/src/components/Widgets/RecentPosts/RecentPosts.module.scss
@@ -12,6 +12,7 @@
auto-fit,
min(calc(100vw - (var(--spacing-md) * 2)), var(--items-size))
);
+ justify-content: center;
gap: var(--spacing-sm);
width: min(
calc(100vw - (var(--spacing-md) * 2)),