Skip to content

Commit

Permalink
feat: adjust demo ui
Browse files Browse the repository at this point in the history
  • Loading branch information
plutoless committed Sep 17, 2024
1 parent 2586851 commit 3b8536d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
1 change: 1 addition & 0 deletions demo/src/app/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ html,
body {
background-color: #0F0F11;
font-family: "PingFang SC";
height: 100%;
}

a {
Expand Down
10 changes: 10 additions & 0 deletions demo/src/platform/pc/entry/index.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,26 @@
position: relative;
height: 100%;
box-sizing: border-box;
display: flex;
flex-direction: column;

.content {
position: relative;
padding: 16px;
box-sizing: border-box;
display: flex;
height: calc(100% - 64px);
flex-direction: column;

.body {
margin-top: 16px;
display: flex;
gap: 24px;
flex-grow: 1;
.chat {
display: flex;
flex-grow: 1;
}
}
}
}
8 changes: 6 additions & 2 deletions demo/src/platform/pc/entry/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@ const PCEntry = () => {
<div className={styles.content}>
<Description></Description>
<div className={styles.body}>
<Rtc></Rtc>
<Chat></Chat>
<div className={styles.rtc}>
<Rtc></Rtc>
</div>
<div className={styles.chat}>
<Chat></Chat>
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 3b8536d

Please sign in to comment.