aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/views/timeline-common
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-06-15 17:04:25 +0800
committercrupest <crupest@outlook.com>2021-06-15 17:04:25 +0800
commit1f242271a98900ca0a72a13ab05efbf65090df0d (patch)
tree5c12af1abd0ff240c6fb9bd4de02a810b6f9a41a /FrontEnd/src/views/timeline-common
parent57a4aa9bc47d3d38f66819f01f41ab10e9673667 (diff)
downloadtimeline-1f242271a98900ca0a72a13ab05efbf65090df0d.tar.gz
timeline-1f242271a98900ca0a72a13ab05efbf65090df0d.tar.bz2
timeline-1f242271a98900ca0a72a13ab05efbf65090df0d.zip
...
Diffstat (limited to 'FrontEnd/src/views/timeline-common')
-rw-r--r--FrontEnd/src/views/timeline-common/TimelinePageCardTemplate.tsx7
1 files changed, 4 insertions, 3 deletions
diff --git a/FrontEnd/src/views/timeline-common/TimelinePageCardTemplate.tsx b/FrontEnd/src/views/timeline-common/TimelinePageCardTemplate.tsx
index 623d643f..851dfa55 100644
--- a/FrontEnd/src/views/timeline-common/TimelinePageCardTemplate.tsx
+++ b/FrontEnd/src/views/timeline-common/TimelinePageCardTemplate.tsx
@@ -19,6 +19,7 @@ import TimelinePropertyChangeDialog from "./TimelinePropertyChangeDialog";
import ConnectionStatusBadge from "./ConnectionStatusBadge";
import { MenuItems, PopupMenu } from "../common/Menu";
import FullPage from "../common/FullPage";
+import Card from "../common/Card";
export interface TimelineCardTemplateProps extends TimelinePageCardProps {
infoArea: React.ReactElement;
@@ -110,8 +111,8 @@ const TimelinePageCardTemplate: React.FC<TimelineCardTemplateProps> = ({
return (
<>
- <div
- className={classnames("cru-card p-2 clearfix", className)}
+ <Card
+ className={classnames("p-2 clearfix", className)}
style={{ zIndex: collapse ? 1029 : 1031 }}
>
<div className="float-end d-flex align-items-center">
@@ -129,7 +130,7 @@ const TimelinePageCardTemplate: React.FC<TimelineCardTemplateProps> = ({
) : (
<div style={{ display: collapse ? "none" : "block" }}>{content}</div>
)}
- </div>
+ </Card>
{(() => {
if (dialog === "member") {
return (