From 887ef100f8576401e720f24ce823f8a7d31ac4ca Mon Sep 17 00:00:00 2001
From: Louis Grasset
Date: Thu, 24 Feb 2022 17:48:02 +0100
Subject: [PATCH] fix: wrap socials links; prevent word wrap
---
src/sections/Hero/Hero.scss | 8 ++++++--
src/sections/Hero/Hero.tsx | 29 +++++++++++++++--------------
2 files changed, 21 insertions(+), 16 deletions(-)
diff --git a/src/sections/Hero/Hero.scss b/src/sections/Hero/Hero.scss
index a406bcb..b8c89a4 100644
--- a/src/sections/Hero/Hero.scss
+++ b/src/sections/Hero/Hero.scss
@@ -108,12 +108,16 @@
&__socials {
svg {
height: 2rem;
- margin-left: 0.5rem;
- margin-right: 0.5rem;
+ margin-left: 1rem;
position: relative;
top: 0.2rem;
width: 2rem;
}
+
+ span {
+ display: inline-block;
+ white-space: nowrap;
+ }
}
&__first {
diff --git a/src/sections/Hero/Hero.tsx b/src/sections/Hero/Hero.tsx
index cafdba2..1adcf69 100644
--- a/src/sections/Hero/Hero.tsx
+++ b/src/sections/Hero/Hero.tsx
@@ -41,20 +41,21 @@ export function Hero () {
N'hésitez pas à m'ajouter sur
-
- Linkedin
- .
+
+ Linkedin
+ .
+