aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/app/views/timeline-common/TimelinePageCardTemplate.tsx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-04-04 14:52:24 +0800
committercrupest <crupest@outlook.com>2021-04-04 14:52:24 +0800
commitaf5d3d86009ff73fded962249cfaf812b001f5bc (patch)
tree17268dd7e6fb1fdfb57468f948b4853ca7fa4404 /FrontEnd/src/app/views/timeline-common/TimelinePageCardTemplate.tsx
parent2c4967facc546e718f5a2f4c9324722324b1f4a5 (diff)
downloadtimeline-af5d3d86009ff73fded962249cfaf812b001f5bc.tar.gz
timeline-af5d3d86009ff73fded962249cfaf812b001f5bc.tar.bz2
timeline-af5d3d86009ff73fded962249cfaf812b001f5bc.zip
fix: Fix card zindex problem.
Diffstat (limited to 'FrontEnd/src/app/views/timeline-common/TimelinePageCardTemplate.tsx')
-rw-r--r--FrontEnd/src/app/views/timeline-common/TimelinePageCardTemplate.tsx5
1 files changed, 4 insertions, 1 deletions
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>