aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionFreeForm
diff options
context:
space:
mode:
authoranika-ahluwalia <anika.ahluwalia@gmail.com>2020-07-22 18:07:45 -0500
committeranika-ahluwalia <anika.ahluwalia@gmail.com>2020-07-22 18:07:45 -0500
commit66bcfb6364ca5d8b4a0fd26139966ea9d6c12f87 (patch)
tree1ebe5791f5b5d534353f94d207b44b657ccc5965 /src/client/views/collections/collectionFreeForm
parenta99cef9945c1c4f9e5ff07663fc6db5cda2dcd50 (diff)
adding buttons
Diffstat (limited to 'src/client/views/collections/collectionFreeForm')
-rw-r--r--src/client/views/collections/collectionFreeForm/PropertiesView.scss12
-rw-r--r--src/client/views/collections/collectionFreeForm/PropertiesView.tsx8
2 files changed, 18 insertions, 2 deletions
diff --git a/src/client/views/collections/collectionFreeForm/PropertiesView.scss b/src/client/views/collections/collectionFreeForm/PropertiesView.scss
index e81b1eeb4..98eae1ac7 100644
--- a/src/client/views/collections/collectionFreeForm/PropertiesView.scss
+++ b/src/client/views/collections/collectionFreeForm/PropertiesView.scss
@@ -28,6 +28,18 @@
padding: 8.5px;
font-size: 12.5px;
font-weight: bold;
+
+ .propertiesView-settings-title {
+ font-weight: bold;
+ font-size: 12.5px;
+ padding-bottom: 7px;
+ }
+
+ .propertiesView-settings-content {
+ margin-left: 5px;
+ padding-bottom: 10px;
+ }
+
}
.propertiesView-fields {
diff --git a/src/client/views/collections/collectionFreeForm/PropertiesView.tsx b/src/client/views/collections/collectionFreeForm/PropertiesView.tsx
index 27b0dbd9e..5242aa8fd 100644
--- a/src/client/views/collections/collectionFreeForm/PropertiesView.tsx
+++ b/src/client/views/collections/collectionFreeForm/PropertiesView.tsx
@@ -13,6 +13,7 @@ import { ContentFittingDocumentView } from "../../nodes/ContentFittingDocumentVi
import { returnFalse, returnOne, emptyFunction, emptyPath, returnTrue, returnZero, returnEmptyFilter, Utils } from "../../../../Utils";
import { Id } from "../../../../fields/FieldSymbols";
import { Transform } from "../../../util/Transform";
+import { PropertiesButtons } from "../../PropertiesButtons";
interface PropertiesViewProps {
@@ -22,7 +23,7 @@ interface PropertiesViewProps {
height: number;
renderDepth: number;
ScreenToLocalTransform: () => Transform;
- //docView: DocumentView;
+ docView: DocumentView;
}
@observer
@@ -125,7 +126,10 @@ export class PropertiesView extends React.Component<PropertiesViewProps> {
Collection
</div>
<div className="propertiesView-settings">
- Settings
+ <div className="propertiesView-settings-title"> Settings</div>
+ <div className="propertiesView-settings-content">
+ <PropertiesButtons doc={this.props.Document} />
+ </div>
</div>
<div className="propertiesView-fields">
<div className="propertiesView-fields-title"> Fields</div>