fix bookmark height (#4118)

fixes #4109 

### Change type

- [x] `bugfix`
- [ ] `improvement`
- [ ] `feature`
- [ ] `api`
- [ ] `other`

### Test plan

1. Create a shape...
2.

- [ ] Unit tests
- [ ] End to end tests

### Release notes

- Fixed a bug with…
This commit is contained in:
David Sheldrick 2024-07-09 17:00:21 +01:00 committed by GitHub
parent adbb0e9b3b
commit 922dd416b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -58,6 +58,7 @@ export class BookmarkShapeUtil extends BaseBoxShapeUtil<TLBookmarkShape> {
className="tl-bookmark__container"
style={{
boxShadow: getRotatedBoxShadow(pageRotation),
maxHeight: shape.props.h,
}}
>
{(!asset || asset.props.image) && (