fdadaf6044
Previously, our UI changed appearance based on your browser's **window size**. This PR makes it change appearance based on tldraw's **component size** instead. It makes the UI behave as we intend in small inline components. See the **Inline component** example for a comparison of different screen sizes. See code comments for more info. ### Change Type - [x] `patch` — Bug fix [^1]: publishes a `patch` release, for devDependencies use `internal` [^2]: will not publish a new version ### Test Plan 1. Open the inline component example. 2. Gradually change the width of the browser window. 3. The UI of the components shouldn't change when you do this. - [ ] Unit Tests - [ ] End to end tests ### Release Notes - Dev: Fixed the default tldraw UI not matching the size of the component. |
||
---|---|---|
.. | ||
e2e | ||
public | ||
src | ||
.gitignore | ||
LICENSE.md | ||
package.json | ||
README.md | ||
tsconfig.json | ||
vercel.json | ||
vite.config.ts |
@tldraw/example
Community
Have questions, comments or feedback? Join our discord or start a discussion.
Distributions
You can find tldraw on npm here.
Contribution
Please see our contributing guide. Found a bug? Please submit an issue.
License
The tldraw source code and its distributions are provided under the tldraw license. This license does not permit commercial use.
If you wish to use this project in commercial product, you need to purchase a commercial license. Please contact us at hello@tldraw.com for more inforion about obtaining a commercial license.
Trademarks
Copyright (c) 2023-present tldraw Inc. The tldraw name and logo are trademarks of tldraw. Please see our trademark guidelines for info on acceptable usage.
Contact
Find us on Twitter at @tldraw or email hello@tldraw.com. You can also join our discord for quick help and support.