chore: Delete unnecessary drag area

This commit is contained in:
MystiPanda 2023-12-13 11:09:19 +08:00
parent eadd1042fb
commit 0aaae3afd6

View File

@ -18,7 +18,7 @@ export const BasePage: React.FC<Props> = (props) => {
return ( return (
<BaseErrorBoundary> <BaseErrorBoundary>
<div className="base-page" data-windrag> <div className="base-page">
<header data-windrag style={{ userSelect: "none" }}> <header data-windrag style={{ userSelect: "none" }}>
<Typography variant="h4" component="h1" data-windrag> <Typography variant="h4" component="h1" data-windrag>
{title} {title}
@ -38,7 +38,7 @@ export const BasePage: React.FC<Props> = (props) => {
: "", : "",
}} }}
> >
<div className="base-content" style={contentStyle} data-windrag> <div className="base-content" style={contentStyle}>
{children} {children}
</div> </div>
</section> </section>