summaryrefslogtreecommitdiffstats
path: root/src/components/Branding/Branding.module.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Branding/Branding.module.scss')
-rw-r--r--src/components/Branding/Branding.module.scss6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/components/Branding/Branding.module.scss b/src/components/Branding/Branding.module.scss
index ed2cc16..b6e1aa1 100644
--- a/src/components/Branding/Branding.module.scss
+++ b/src/components/Branding/Branding.module.scss
@@ -91,6 +91,7 @@
font-weight: 500;
letter-spacing: 0.01ex;
position: relative;
+ overflow: hidden;
&::after {
content: "|";
@@ -104,7 +105,7 @@
color: var(--color-primary-darker);
font-weight: 400;
visibility: hidden;
- transform: scaleX(0) translateX(100%);
+ transform: translateX(100%);
transform-origin: right;
animation: var(--branding-name-animation);
}
@@ -122,6 +123,7 @@
font-size: var(--font-size-lg);
font-weight: 500;
position: relative;
+ overflow: hidden;
&::after {
content: "|";
@@ -135,7 +137,7 @@
color: var(--color-primary-darker);
font-weight: 400;
visibility: hidden;
- transform: scaleX(0) translateX(100%);
+ transform: translateX(100%);
transform-origin: right;
animation: var(--branding-job-animation);
}