update: 样式调整
parent
cecff52eea
commit
30e228dc8f
|
@ -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]">
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
.main::-webkit-scrollbar {
|
||||
::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue