feat: implement personal / favorites folder on the mobile platform (#3723)

This commit is contained in:
Lucas.Xu 2023-10-23 18:35:07 +08:00 committed by GitHub
parent a57ca5c0cb
commit d51c7f382f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
93 changed files with 2625 additions and 250 deletions

View file

@ -103,7 +103,9 @@ class _DocumentPageState extends State<DocumentPage> {
styleCustomizer: EditorStyleCustomizer(
context: context,
// the 44 is the width of the left action list
padding: const EdgeInsets.only(left: 40, right: 40 + 44),
padding: PlatformExtension.isMobile
? const EdgeInsets.only(left: 20, right: 20)
: const EdgeInsets.only(left: 40, right: 40 + 44),
),
header: _buildCoverAndIcon(context),
);