Add data breakpoint to layout css (#2076)

This PR adds `data-breakpoint` to the `tlui-layout`.

### Change Type

- [x] `minor` — New feature
This commit is contained in:
Steve Ruiz 2023-10-14 10:04:23 +01:00 committed by GitHub
parent ff9c1655f9
commit a7c421ce9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -136,6 +136,7 @@ const TldrawUiContent = React.memo(function TldrawUI({
className={classNames('tlui-layout', {
'tlui-layout__mobile': breakpoint < 5,
})}
data-breakpoint={breakpoint}
>
{isFocusMode ? (
<div className="tlui-layout__top">