update: 样式调整

style
icefire 2024-10-21 08:54:22 +08:00
parent cecff52eea
commit 30e228dc8f
3 changed files with 4 additions and 4 deletions

View File

@ -41,11 +41,11 @@ export default async function Home (props: PropsType) {
{ img: '/home/case_3.png' },
]
return <>
<div className='w-full' style={{overflow: 'hidden'}}>
<div className='w-full'>
<Header dict={dict} lang={lang} />
<div className="w-[1440px] relative container"
>
<div className='main' style={{height: 'calc(100vh - 82px)', overflowY: "auto"}}>
<div className='main'>
<section id="home">
<div className="w-full h-[770px] bg-[url('/home/img_header.png')] bg-right bg-no-repeat pt-[279px] pl-[72px]">

View File

@ -36,7 +36,7 @@ export default function Header(props: { dict: Record<string, string>, lang: stri
]
return (<>
<div className={`flex items-center px-[55px] h-[80px] border-b-1 border-solid
border-[#D8D8D8] absolute bg-white z-[900] w-[1440px] container`}
border-[#D8D8D8] fixed bg-white z-[900] w-[1440px] container`}
style={{ borderBottom: '1px solid #D8D8D8' }}
>
<Link href="#home">

View File

@ -2,7 +2,7 @@
@tailwind components;
@tailwind utilities;
.main::-webkit-scrollbar {
::-webkit-scrollbar {
display: none;
}