From be5c8d0c0fdb039a3f2e74daa2713551c5b3d00b Mon Sep 17 00:00:00 2001 From: Jieiku Date: Sun, 12 Jun 2022 11:38:58 -0700 Subject: Fix Back to Top Overflow --- sass/include/_top.scss | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'sass/include/_top.scss') diff --git a/sass/include/_top.scss b/sass/include/_top.scss index e4ad6fe..7b9d026 100644 --- a/sass/include/_top.scss +++ b/sass/include/_top.scss @@ -1,25 +1,24 @@ .topout { - display: flex; position: sticky; bottom: 1px; padding: 20px; place-self: end; - margin-top: 101vh; + margin-top: 110vh; pointer-events: none; } -.topin { - margin-left: auto; - pointer-events: all; +.topleft { + margin-left: calc(100% - 80px); } .top { + pointer-events: all; padding: 9px; - font-weight:700; border-radius: 9px; + font-weight:700; color: var(--a1); background: var(--c2); } .top:hover { + text-decoration: none; color: var(--c2); background: var(--a1); - text-decoration: none; -} +} \ No newline at end of file -- cgit v1.3.1