Skip to content

Commit

Permalink
fix: add some elevation to expanded submenu container
Browse files Browse the repository at this point in the history
  • Loading branch information
bootloopmaster636 committed Sep 9, 2024
1 parent c005d5d commit c626a9a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/panel/widgets/appmenu/appmenu.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ class AppMenuContent extends ConsumerWidget {
decoration: BoxDecoration(
color: Theme.of(context).colorScheme.surface,
borderRadius: BorderRadius.circular(8),
boxShadow: const [
BoxShadow(
color: Colors.black12,
blurRadius: 4,
),
],
),
padding: const EdgeInsets.symmetric(vertical: 12, horizontal: 16),
child: data.isLoading
Expand Down
12 changes: 12 additions & 0 deletions lib/settings/settings_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ class SettingsContent extends HookWidget {
decoration: BoxDecoration(
color: Theme.of(context).colorScheme.surface,
borderRadius: BorderRadius.circular(8),
boxShadow: const [
BoxShadow(
color: Colors.black12,
blurRadius: 4,
),
],
),
padding: const EdgeInsets.all(8),
child: SettingsSectionContent(
Expand All @@ -42,6 +48,12 @@ class SettingsContent extends HookWidget {
decoration: BoxDecoration(
color: Theme.of(context).colorScheme.surface,
borderRadius: BorderRadius.circular(8),
boxShadow: const [
BoxShadow(
color: Colors.black12,
blurRadius: 4,
),
],
),
height: double.infinity,
padding: const EdgeInsets.all(16),
Expand Down

0 comments on commit c626a9a

Please sign in to comment.