From 5232d34f026f72eb90a5ba6fff33d30cf9d961aa Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 25 十二月 2020 19:11:07 +0800
Subject: [PATCH] 2020-12-25

---
 src/menu/components/card/cardcomponent/index.jsx |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/menu/components/card/cardcomponent/index.jsx b/src/menu/components/card/cardcomponent/index.jsx
index 891d87f..1fb88ef 100644
--- a/src/menu/components/card/cardcomponent/index.jsx
+++ b/src/menu/components/card/cardcomponent/index.jsx
@@ -212,9 +212,16 @@
     if (_style.shadow) {
       _style.boxShadow = '0 0 4px ' + _style.shadow
     }
-    
+
     if (side === 'back') {
-      _style = {...card.backStyle, height: card.style.height}
+      _style = {
+        ...card.backStyle,
+        height: card.style.height,
+        marginBottom: card.style.marginBottom,
+        marginLeft: card.style.marginLeft,
+        marginRight: card.style.marginRight,
+        marginTop: card.style.marginTop
+      }
     }
 
     return (

--
Gitblit v1.8.0