mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-07 21:48:14 -08:00
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:
parent
a4f3e68d25
commit
69912821e6
1 changed files with 1 additions and 0 deletions
|
|
@ -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'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue