From af5d3d86009ff73fded962249cfaf812b001f5bc Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Sun, 4 Apr 2021 14:52:24 +0800
Subject: fix: Fix card zindex problem.

---
 FrontEnd/src/app/views/timeline-common/TimelinePageCardTemplate.tsx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'FrontEnd/src/app/views/timeline-common/TimelinePageCardTemplate.tsx')

diff --git a/FrontEnd/src/app/views/timeline-common/TimelinePageCardTemplate.tsx b/FrontEnd/src/app/views/timeline-common/TimelinePageCardTemplate.tsx
index 6069d54e..56783e89 100644
--- a/FrontEnd/src/app/views/timeline-common/TimelinePageCardTemplate.tsx
+++ b/FrontEnd/src/app/views/timeline-common/TimelinePageCardTemplate.tsx
@@ -108,7 +108,10 @@ const TimelinePageCardTemplate: React.FC<TimelineCardTemplateProps> = ({
 
   return (
     <>
-      <div className={clsx("cru-card p-2 clearfix", className)}>
+      <div
+        className={clsx("cru-card p-2 clearfix", className)}
+        style={{ zIndex: collapse ? 1029 : 1031 }}
+      >
         <div className="float-right d-flex align-items-center">
           <CollapseButton collapse={collapse} onClick={toggleCollapse} />
         </div>
-- 
cgit v1.2.3

