Center the content if no timestamp

This commit is contained in:
LeonardSSH
2021-08-12 01:39:26 +02:00
parent 87860e003e
commit dd7f57382d

View File

@@ -308,7 +308,11 @@ const renderCard = async (body: LanyardTypes.Root, params: Parameters): Promise<
</div>
<div style="
color: #999;
margin-top: -3px;
margin-top: ${
activity.timestamps && activity.timestamps.start && hideTimestamp !== "true"
? "-3px"
: "5px"
};
line-height: 1;
width: 279px;
">