diff options
author | bobzel <zzzman@gmail.com> | 2024-09-06 16:53:57 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-09-06 16:53:57 -0400 |
commit | 3fe153d3063c197403502590baaabbab1cec5c74 (patch) | |
tree | 8a396c62091c67936f158d863f91fc3918768f7f /src/client/views/PropertiesView.tsx | |
parent | f569f3bfd7aca43479e76f8c5bd88192bc113a25 (diff) |
added margins for carousel view. allow fordoc decorations to be turned off for carousel items.
Diffstat (limited to 'src/client/views/PropertiesView.tsx')
-rw-r--r-- | src/client/views/PropertiesView.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/views/PropertiesView.tsx b/src/client/views/PropertiesView.tsx index daa8e1720..f42838086 100644 --- a/src/client/views/PropertiesView.tsx +++ b/src/client/views/PropertiesView.tsx @@ -138,7 +138,9 @@ export class PropertiesView extends ObservableReactComponent<PropertiesViewProps return this.selectedDoc?.isGroup; } @computed get isStack() { - return [CollectionViewType.Masonry, CollectionViewType.Multicolumn, CollectionViewType.Multirow, CollectionViewType.Stacking, CollectionViewType.NoteTaking].includes(this.selectedDoc?.type_collection as CollectionViewType); + return [CollectionViewType.Masonry, CollectionViewType.Multicolumn, CollectionViewType.Multirow, CollectionViewType.Stacking, CollectionViewType.NoteTaking, CollectionViewType.Carousel].includes( + this.selectedDoc?.type_collection as CollectionViewType + ); } rtfWidth = () => (!this.selectedLayoutDoc ? 0 : Math.min(NumCast(this.selectedLayoutDoc?._width), this._props.width - 20)); |