Skip to content

Commit

Permalink
chore: set open consult height 100% for click area (#380)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyuhho committed Oct 10, 2024
1 parent 61129a7 commit 511f591
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/components/Common/AppContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export const AppContainer = ({ children }: AppContainerProps) => {
//
// Redirect to inspection page when service is shut down
useManipulateServerDown();

//
//
//
Expand Down
7 changes: 5 additions & 2 deletions src/pages/Seller/SellerOpenConsult.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import OpenConsultHeader from 'components/Seller/SellerOpenConsult/OpenConsultHe
import { useState } from 'react';
import { useParams } from 'react-router-dom';
import { useRecoilValue } from 'recoil';
import { APP_HEADER_HEIGHT } from 'styles/AppStyle';
import { APP_HEADER_HEIGHT, APP_HEIGHT } from 'styles/AppStyle';
import { isSendPopupOpenState } from 'utils/atom';

//
Expand Down Expand Up @@ -36,7 +36,10 @@ function SellerOpenConsult() {
return (
<>
<div
style={{ paddingTop: APP_HEADER_HEIGHT }}
style={{
paddingTop: APP_HEADER_HEIGHT,
height: `${APP_HEIGHT} - ${APP_HEADER_HEIGHT})`,
}}
onClick={() => {
setIsReplying(false);
}}
Expand Down

0 comments on commit 511f591

Please sign in to comment.