fix: 퀴즈 컴포넌트 overflow 수정

This commit is contained in:
jhynsoo 2024-08-11 23:57:05 +09:00
parent 5168f781e7
commit 3e7a593bbc
6 changed files with 10 additions and 2 deletions

View File

@ -12,6 +12,7 @@
display: flex;
justify-content: space-between;
align-items: center;
position: relative;
padding: 16px;
& > .quizButton {

View File

@ -116,7 +116,7 @@ export default function LiveRoom() {
<span>{participants.length}</span>
</div>
</header>
<div className="lk-video-conference">
<div className={`lk-video-conference ${styles.videoRoom}`}>
<LayoutContextProvider value={layoutContext}>
<div className="lk-video-conference-inner">
{!focusTrack ? (

View File

@ -30,3 +30,7 @@
line-height: 1.4;
font-weight: 500;
}
.videoRoom {
height: calc(100% - 48px) !important;
}

View File

@ -16,7 +16,10 @@
width: 100%;
height: 100%;
padding: 0 16px;
white-space: pre-line;
word-break: break-word;
box-sizing: border-box;
overflow-y: auto;
}
.header {

View File

@ -29,7 +29,6 @@ export default function QuizModal({ startQuiz, quizSets, closeModal }) {
<li
key={quizSet.quizSetId}
onClick={() => {
console.log(quizSet.quizSetId);
startQuiz(quizSet.quizSetId);
closeModal();
}}

View File

@ -91,4 +91,5 @@
font-weight: 500;
cursor: pointer;
transition: background-color 0.25s;
word-break: break-word;
}