From abb00228e0426f57daf773be6baf249309f4f784 Mon Sep 17 00:00:00 2001 From: liliana <liliana.sanfilippo@uni-bielefeld.de> Date: Mon, 12 Aug 2024 16:37:28 +0200 Subject: [PATCH] sidebar --- src/App/App.css | 2 +- src/components/Sidebar.tsx | 4 ++-- src/sidebars/descS.tsx | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/App/App.css b/src/App/App.css index 4946c95b..a35fe718 100644 --- a/src/App/App.css +++ b/src/App/App.css @@ -3,7 +3,7 @@ /* * * * * * * */ :root { /* our colours*/ - --text-primary: #850F78; + --text-primary: # ; --mediumpurple: #bc15aa; /*--purple: #B85BD1; */ --accen-secondary: #F57D22; diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index d01fc391..1a0f86f5 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -80,8 +80,8 @@ function Sidebar(){ {content} </nav> <br/> - <div className="col" style={{display: "flex", alignItems: "right "}}> - <a href={'#' + nums[0]} className="backtotop"> + <div className="col" style={{display: "flex", alignItems: "right"}}> + <a href='#' className="backtotop"> Back to Top ↑ </a> </div> diff --git a/src/sidebars/descS.tsx b/src/sidebars/descS.tsx index b3eb5db2..6b6db098 100644 --- a/src/sidebars/descS.tsx +++ b/src/sidebars/descS.tsx @@ -3,6 +3,7 @@ import Sidebar from "../components/Sidebar"; export function DescSidebar(){ return( <div className="col-2 d-none d-lg-block"> + <br/> <div className="sticky-top"> <Sidebar nums={["Abstract", "Cystic Fibrosis", "Our motivation", "Approach", "Delivery", "Our vision", "References"]}></Sidebar> -- GitLab