mirror of
https://github.com/immich-app/immich
synced 2026-08-22 13:13:05 +00:00
chore(mobile): add box shadow to asset details (#27510)
The details widget can blend with the image when they are similar colours.
This commit is contained in:
parent
bfdff12ee0
commit
f09769a2f3
1 changed files with 8 additions and 0 deletions
|
|
@ -26,6 +26,14 @@ class AssetDetails extends ConsumerWidget {
|
|||
decoration: BoxDecoration(
|
||||
color: context.colorScheme.surface,
|
||||
borderRadius: const BorderRadius.vertical(top: Radius.circular(20)),
|
||||
boxShadow: [
|
||||
BoxShadow(
|
||||
color: Colors.black.withValues(alpha: 0.2),
|
||||
offset: const Offset(0, -3),
|
||||
blurRadius: 10,
|
||||
spreadRadius: 2,
|
||||
),
|
||||
],
|
||||
),
|
||||
child: SafeArea(
|
||||
top: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue