Skip to content

Commit

Permalink
Merge pull request #410 from sharemindteam/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
rmdnps10 authored Oct 10, 2024
2 parents 0cc2fd3 + 8b9717a commit 0401d43
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 0401d43

Please sign in to comment.