feat: disable user select

This commit is contained in:
GyDi 2022-02-13 19:52:35 +08:00
parent 2dfd725ee0
commit 8548373742
No known key found for this signature in database
GPG Key ID: 1C95E0D3467B3084

View File

@ -12,8 +12,8 @@ const BasePage: React.FC<Props> = (props) => {
return (
<div className="base-page" data-windrag>
<header data-windrag>
<Typography variant="h4" component="h1">
<header data-windrag style={{ userSelect: "none" }}>
<Typography variant="h4" component="h1" data-windrag>
{title}
</Typography>