Skip to content

Commit

Permalink
Merge pull request #349 from Visual-Intelligence-UMN/matrix-reusability
Browse files Browse the repository at this point in the history
fixed layout issue
  • Loading branch information
chongwei729 authored Sep 28, 2024
2 parents a4b4513 + 4c605d1 commit 0e61deb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/Sidebar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,8 @@ export default function Sidebar(props: Props) {
<ul className="list-disc list-inside px-4">
<li>Yilin(Harry) Lu</li>
<li>Chongwei Chen</li>
<li>Kexin Huang</li>
<li>Marinka Zitnik</li>
<li>Matthew Xu</li>
<li>Qianwen Wang</li>
</ul>
Expand Down
2 changes: 2 additions & 0 deletions src/pages/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
}

.rightContainer {
display: flex;
flex-direction: column;
height: calc((100vh - var(--header-height)) / var(--zoom-ratio));
}

Expand Down
1 change: 1 addition & 0 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ export default function Home() {
useEffect(() => {
(document.body.style as any).zoom = "70%";
//load resources
document.body.style.overflow = 'hidden';
}, []);

useEffect(() => {
Expand Down

0 comments on commit 0e61deb

Please sign in to comment.