From 7567210b6e0dce1e5bc79255dc2dd4debe55ed82 Mon Sep 17 00:00:00 2001 From: srichman333 Date: Wed, 28 Jun 2023 10:34:28 -0400 Subject: DocumentDecorations layout checkbox only in delevolper mode --- src/client/views/DocumentDecorations.scss | 2 +- src/client/views/DocumentDecorations.tsx | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/client/views/DocumentDecorations.scss b/src/client/views/DocumentDecorations.scss index 4f23681ac..ca3610cc0 100644 --- a/src/client/views/DocumentDecorations.scss +++ b/src/client/views/DocumentDecorations.scss @@ -243,7 +243,7 @@ $resizeHandler: 8px; & .checkbox-text{ display: inline; position: relative; - top: 2; + top: 1.5; font-size: 8px; } } diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index 4da6bd697..d306d3e45 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -831,12 +831,14 @@ export class DocumentDecorations extends React.Component<{ PanelWidth: number; P   {shareSymbolIcon + ' ' + shareMode}   -
-
- (this.showLayoutAcl = !this.showLayoutAcl))} /> + {!Doc.noviceMode ? +
+
+ (this.showLayoutAcl = !this.showLayoutAcl))} /> +
+
Layout
-
Layout
-
+ : null }  
-- cgit v1.2.3-70-g09d2