From 642093f12d12c97d52c9d3dc8e2c9fb6f38ae664 Mon Sep 17 00:00:00 2001 From: Xingan Zhao <2081098605@qq.com> Date: Tue, 1 Oct 2024 10:57:45 +0800 Subject: [PATCH] fix:collaboration --- src/containers/App/App.css | 5 +++-- src/contents/collaboration.tsx | 15 ++++++++++----- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/src/containers/App/App.css b/src/containers/App/App.css index f770493..69994cc 100644 --- a/src/containers/App/App.css +++ b/src/containers/App/App.css @@ -806,8 +806,9 @@ footer a:hover { } .header-img { - height: 30%; - width: auto; + height: auto; + min-width: 40%; + max-width: 60%; position: relative; z-index: 2; } diff --git a/src/contents/collaboration.tsx b/src/contents/collaboration.tsx index bd02ba4..63357b8 100644 --- a/src/contents/collaboration.tsx +++ b/src/contents/collaboration.tsx @@ -53,15 +53,20 @@ export function collaboration() { return ( <> - <div className="custom-header-collaboration"> - {/* <h1 className="centered-title">COLLABORATION</h1> */} - - <img +<div className="custom-header-inclusivity"> +<h1 className="centered-title"> + <img + src="https://static.igem.wiki/teams/5378/header/collaboration.png" + alt="safety header" + className="header-img" + /> + <img src="https://static.igem.wiki/teams/5378/header/header-bar.webp" alt="safety header" className="header-bar" /> - </div> +</h1> +</div> <div className='row bg-rice_yellow'> <div className="col-2"> <SideNavbar activeLink={activeLink} /> -- GitLab