Skip to content

Commit

Permalink
Merge pull request #627 from Original-Recipe/feat-expandFullscreenCli…
Browse files Browse the repository at this point in the history
…ckArea

feat: Expand fullscreen click area
  • Loading branch information
lihqi authored Jan 14, 2025
2 parents e58c62b + 2059d39 commit 8d0bf36
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,13 @@ const TitleButton = ({ title, onClick, style }: IProps) => {
return null;
}
return (
<span className={getClassName('point-cloud-container', 'title-button')} style={style}>
<span
className={getClassName('point-cloud-container', 'title-button')}
style={style}
onClick={onClick}
>
{title}
{onClick && <ExpandAltOutlined onClick={onClick} style={{ marginLeft: 4 }} />}
{onClick && <ExpandAltOutlined style={{ marginLeft: 4 }} />}
</span>
);
};
Expand Down
1 change: 1 addition & 0 deletions packages/lb-components/src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1532,6 +1532,7 @@ $headerHeight: 40px;
padding: 4px 8px;
background-color: #fff;
color: #000000;
cursor: pointer;
}
}

Expand Down

0 comments on commit 8d0bf36

Please sign in to comment.