Skip to content

Commit f1a27bf

Browse files
committed
chore: fix editor interview rm styles
Signed-off-by: SeeuSim <[email protected]>
1 parent b3c598c commit f1a27bf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

frontend/src/components/blocks/interview/editor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { CompleteDialog } from './room/complete-dialog';
2222
import { OtherUserCompletingDialog } from './room/other-user-completing-dialog';
2323

2424
const EXTENSION_HEIGHT = 250;
25-
const MIN_EDITOR_HEIGHT = 350;
25+
const MIN_EDITOR_HEIGHT = 150;
2626

2727
type EditorProps = {
2828
questionId: number;

frontend/src/routes/interview/[room]/main.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ export const InterviewRoom = () => {
5959
) : (
6060
<WithNavBlocker>
6161
<WithNavBanner crumbs={crumbs}>
62-
<div className='flex flex-1 overflow-hidden'>
63-
<Card className='border-border m-4 flex w-[500px] overflow-hidden p-4 md:w-2/5'>
62+
<div className='scrollbar-track-transparent scrollbar-thin flex flex-1 overflow-hidden sm:overflow-x-auto sm:overflow-y-hidden'>
63+
<Card className='border-border m-4 flex w-[500px] overflow-hidden p-4 md:w-2/5 md:min-w-[292px]'>
6464
<Tabs defaultValue='details' className='size-full'>
6565
<TabsList className=''>
6666
<TabsTrigger value='details'>Question Details</TabsTrigger>
@@ -85,7 +85,7 @@ export const InterviewRoom = () => {
8585
/>
8686
</div>
8787
{(isAIChatOpen || isPartnerChatOpen) && (
88-
<Card className='border-border m-4 w-[500px] overflow-hidden md:w-1/3'>
88+
<Card className='border-border m-4 w-[500px] overflow-hidden md:w-1/3 md:min-w-[376px]'>
8989
{isAIChatOpen && (
9090
<AIChat
9191
isOpen={isAIChatOpen}

0 commit comments

Comments
 (0)