Skip to content

Commit

Permalink
Merge pull request #409 from sharemindteam/hotfix/open_focus_area_380
Browse files Browse the repository at this point in the history
[Hotfix] 마인더 공개상담 focus 빠지지 않는 이슈 수정
  • Loading branch information
rmdnps10 authored Oct 10, 2024
2 parents 6373e07 + 511f591 commit 8b9717a
Show file tree
Hide file tree
Showing 3 changed files with 9 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
3 changes: 3 additions & 0 deletions src/styles/AppStyle.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/** App Height should use under AppLayout (userViewResize) */
export const APP_HEIGHT = 'calc(var(--vh, 1vh) * 100)';

export const APP_WIDTH = '37.5rem';

export const APP_HEADER_HEIGHT = '5.2rem';

0 comments on commit 8b9717a

Please sign in to comment.