From b0b06b4edc1699b7a64744340b5f2278a647708c Mon Sep 17 00:00:00 2001
From: Zhang Dian <54255897+zdpcdt@users.noreply.github.com>
Date: Wed, 11 Sep 2024 12:22:20 +0800
Subject: [PATCH] fix: fix Notification BoxShadows & MinWidth.
---
src/Semi.Avalonia/Controls/NotificationCard.axaml | 15 +++++++--------
.../Themes/Dark/NotificationCard.axaml | 2 +-
.../Themes/Light/NotificationCard.axaml | 2 +-
.../Themes/Shared/NotificationCard.axaml | 2 +-
4 files changed, 10 insertions(+), 11 deletions(-)
diff --git a/src/Semi.Avalonia/Controls/NotificationCard.axaml b/src/Semi.Avalonia/Controls/NotificationCard.axaml
index 5348ac6..4eabc52 100644
--- a/src/Semi.Avalonia/Controls/NotificationCard.axaml
+++ b/src/Semi.Avalonia/Controls/NotificationCard.axaml
@@ -5,16 +5,17 @@
+
Hello, Semi.Avalonia!
-
-
+
+
-
+
@@ -22,10 +23,7 @@
-
-
-
@@ -38,11 +36,11 @@
-
+
diff --git a/src/Semi.Avalonia/Themes/Dark/NotificationCard.axaml b/src/Semi.Avalonia/Themes/Dark/NotificationCard.axaml
index dc17611..3ae2714 100644
--- a/src/Semi.Avalonia/Themes/Dark/NotificationCard.axaml
+++ b/src/Semi.Avalonia/Themes/Dark/NotificationCard.axaml
@@ -5,7 +5,7 @@
- 0 0 8 0 #1AFFFFFF
+ inset 0 0 0 1 #1AFFFFFF, 0 4 14 0 #40000000
diff --git a/src/Semi.Avalonia/Themes/Light/NotificationCard.axaml b/src/Semi.Avalonia/Themes/Light/NotificationCard.axaml
index 4541075..6ed6ff2 100644
--- a/src/Semi.Avalonia/Themes/Light/NotificationCard.axaml
+++ b/src/Semi.Avalonia/Themes/Light/NotificationCard.axaml
@@ -5,7 +5,7 @@
- 0 0 8 0 #1A000000
+ 0 0 1 0 #4A000000, 0 4 14 0 #1A000000
\ No newline at end of file
diff --git a/src/Semi.Avalonia/Themes/Shared/NotificationCard.axaml b/src/Semi.Avalonia/Themes/Shared/NotificationCard.axaml
index 4e5476c..9310982 100644
--- a/src/Semi.Avalonia/Themes/Shared/NotificationCard.axaml
+++ b/src/Semi.Avalonia/Themes/Shared/NotificationCard.axaml
@@ -3,7 +3,7 @@
1
6
8
- 16 12
+ 20 16 12 16
18
18