1. Add a class cp-hidden-if-readonly which is display:none if the pad is in read-only mode. 2. Don't show color pickers or options when in read-only on presentation.

This commit is contained in:
Caleb James DeLisle
2017-10-05 12:14:03 +03:00
parent d6570ad9f2
commit 383c2f54cb
3 changed files with 8 additions and 3 deletions

View File

@@ -22,6 +22,8 @@ html.cp-app-print {
.app-print_main();
}
body.cp-readonly .cp-hidden-if-readonly { display:none !important; }
body.cp-app-drive { @import "../../../drive/app-drive.less"; }
body.cp-app-pad { @import "../../../pad/app-pad.less"; }
body.cp-app-code { @import "../../../code/app-code.less"; }