修改iframe样式

This commit is contained in:
al 2024-08-05 18:55:16 +08:00
parent 80f9a6e9bd
commit 08ba48e55d
1 changed files with 3 additions and 2 deletions

View File

@ -10,7 +10,7 @@ export default function PersonSpace() {
return (
<div>
<div className="p-4 fixed top-0 z-10 w-full">
<div className="w-9 h-9 flex items-center justify-center bg-[#FFFFFF1A] rounded-full absolute">
<div className="w-9 h-9 flex items-center justify-center rounded-full absolute">
<FontAwesomeIcon
icon={faAngleLeft}
size="xl"
@ -25,7 +25,8 @@ export default function PersonSpace() {
<div className="mt-12">
<iframe
src={`${process.env.NEXT_PUBLIC_WEB_URL}` + decodeURIComponent(src)}
className="w-full h-[100vh]"
className="w-full"
style={{height:"calc(100vh - 4.5rem)"}}
/>
</div>
</div>