Skip to content

Commit

Permalink
🐛 fix: fix agent market detail scroll error (#503)
Browse files Browse the repository at this point in the history
* Update index.tsx

修复整体布局页面滚动造成的显示BUG

* Update AgentDetail.tsx

修复AgentDetail的draggable-panel节点在切换后渲染高度height:auto导致的页面滚动问题
  • Loading branch information
Moonlit7 authored Nov 27, 2023
1 parent 97dd03e commit 8900ad0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/app/market/(desktop)/features/AgentDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const useStyles = createStyles(({ css, token, stylish }) => ({
content: css`
display: flex;
flex-direction: column;
height: 100% !important;
`,
drawer: css`
background: ${token.colorBgLayout};
Expand Down
2 changes: 1 addition & 1 deletion src/layout/GlobalLayout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import StoreHydration from './StoreHydration';

const useStyles = createStyles(({ css, token }) => ({
bg: css`
overflow-y: scroll;
overflow-y: hidden;
display: flex;
flex-direction: column;
align-items: center;
Expand Down

0 comments on commit 8900ad0

Please sign in to comment.