From 8dd3225893aad4dba14145a017903f637579f46b Mon Sep 17 00:00:00 2001 From: hedy Date: Tue, 19 Mar 2024 16:40:36 +0800 Subject: Center align the timeline line (container ::before pseudoelement) --- pydis_site/static/css/home/timeline.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pydis_site') diff --git a/pydis_site/static/css/home/timeline.css b/pydis_site/static/css/home/timeline.css index d708a89b..48e0de11 100644 --- a/pydis_site/static/css/home/timeline.css +++ b/pydis_site/static/css/home/timeline.css @@ -28,7 +28,7 @@ content: ''; position: absolute; top: 0; - left: 50%; + left: calc(50% - 2px); height: 100%; width: 4px; background-color: var(--accent); -- cgit v1.2.3