Skip to content

Commit

Permalink
refactor: css classes
Browse files Browse the repository at this point in the history
  • Loading branch information
tuliomir committed Dec 18, 2024
1 parent f65f075 commit 5179cab
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
23 changes: 12 additions & 11 deletions src/newUi.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1477,6 +1477,18 @@ nav {
padding: 4px 12px 4px 12px;
border-radius: 4px;
}

span.synced-at {
border: 0;
background-color: inherit;
margin: auto 0;
font-family: 'San Francisco Pro';
font-size: 10px;
font-weight: 500;
line-height: 18px;
letter-spacing: 0.03em;
text-align: left;
}
}

.real-time-info-container {
Expand Down Expand Up @@ -1512,17 +1524,6 @@ nav {
text-align: left;
color: var(--bold-text-color);
}

p {
margin: 0;
font-family: 'San Francisco Pro';
font-size: 10px;
font-weight: 500;
line-height: 18px;
letter-spacing: 0.03em;
text-align: left;
color: #57606a;
}
}

.statistics-data-title {
Expand Down
2 changes: 1 addition & 1 deletion src/screens/Dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function Dashboard() {
<div className="statistics-title-container">
<h2 className="statistics-title">Statistics</h2>
<span>Real time</span>
<span className="real-time-info">
<span className="synced-at">
<p>LATEST BLOCK {renderCount} SECONDS AGO</p>
</span>
</div>
Expand Down

0 comments on commit 5179cab

Please sign in to comment.