fix(macOS): Add appropriate padding to navigation rail on macOS (#94)

Co-authored-by: Emily McLean <emily@stripysock.com.au>
This commit is contained in:
Emily McLean 2024-11-01 00:48:33 +11:00 committed by GitHub
parent a4f3e68d25
commit 69912821e6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -120,6 +120,7 @@ class _NavigationBodyState extends ConsumerState<NavigationBody> {
style: Theme.of(context).textTheme.titleSmall,
),
},
if (AdaptiveLayout.of(context).platform == TargetPlatform.macOS) SizedBox(height: MediaQuery.of(context).padding.top),
Flexible(
child: Padding(
key: const Key('navigation_rail'),