Skip to content

Commit

Permalink
chore: center timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
devceline committed Feb 6, 2024
1 parent 568d346 commit 7528f6e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions src/components/dev/DevTimeStamp/DevTimeStamp.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
.DevTimeStamp {
color: #888888;
position: fixed;
margin: 0.25em 5%;
left: 0%;
width: 100%;
bottom: 0%;
font-size: 11px;
pointer-events: none;
z-index: 999;

span {
display: block;
width: fit-content;
margin: auto;
}
}
2 changes: 1 addition & 1 deletion src/components/dev/DevTimeStamp/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const DevTimeStamp = () => {

return (
<div className="DevTimeStamp">
<p>{getTimeStampFormatted(timestamp)}</p>
<span>{getTimeStampFormatted(timestamp)}</span>
</div>
)
}
Expand Down

0 comments on commit 7528f6e

Please sign in to comment.