From 23c4f10e0bc3d7ec94a5c74df597cdddb23d1413 Mon Sep 17 00:00:00 2001 From: usodhi <61431818+usodhi@users.noreply.github.com> Date: Thu, 1 Oct 2020 01:47:34 +0530 Subject: added acl refresh ish button to panel and sharing menu --- src/client/views/PropertiesView.scss | 32 +++++++++++++++++++++----------- src/client/views/PropertiesView.tsx | 21 +++++++++++++-------- 2 files changed, 34 insertions(+), 19 deletions(-) (limited to 'src/client/views') diff --git a/src/client/views/PropertiesView.scss b/src/client/views/PropertiesView.scss index 47d8aacea..9fdc8bc47 100644 --- a/src/client/views/PropertiesView.scss +++ b/src/client/views/PropertiesView.scss @@ -121,19 +121,30 @@ padding: 10px; margin-left: 5px; - .propertiesView-acls-checkbox { + .propertiesView-buttonContainer { float: right; - height: 20px; - margin-top: -20px; - margin-right: -15; - - .propertiesView-acls-checkbox-text { - font-size: 7px; - margin-top: -10px; - margin-left: 6px; + display: flex; + + button { + width: 15; + height: 15; + padding: 0; + margin-top: -5; + } + + .propertiesView-acls-checkbox { + margin-top: -20px; + + .propertiesView-acls-checkbox-text { + font-size: 7px; + margin-top: -10px; + margin-left: 6px; + } } } + + .change-buttons { display: flex; @@ -247,8 +258,7 @@ } .expansion-button { - margin-left: -22.5; - margin: 3; + margin-left: -20; .expansion-button-icon { width: 11px; diff --git a/src/client/views/PropertiesView.tsx b/src/client/views/PropertiesView.tsx index 5877c1d6d..5cab7726e 100644 --- a/src/client/views/PropertiesView.tsx +++ b/src/client/views/PropertiesView.tsx @@ -901,14 +901,19 @@ export class PropertiesView extends React.Component { {!this.openSharing ? (null) :
- {!novice ? (
- this.layoutDocAcls = !this.layoutDocAcls)} - checked={this.layoutDocAcls} - />; -
Layout
-
) : (null)} +
+ {!novice ? (
+ this.layoutDocAcls = !this.layoutDocAcls)} + checked={this.layoutDocAcls} + /> +
Layout
+
) : (null)} + +
{this.sharingTable}
} -- cgit v1.2.3-70-g09d2