Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions app/scss/dashkit/_tables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ tbody td {
border-bottom: 0;
}

.small-headers thead th {
font-size: 0.7125rem !important;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoid using !important if possible; consider increasing selector specificity to override styles.

Suggested change
font-size: 0.7125rem !important;
font-size: 0.7125rem;

}

.table-sep {
background-color: $table-head-bg;
text-transform: uppercase;
Expand Down
14 changes: 7 additions & 7 deletions app/utils/feature-gate/featureGate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ export function UpcomingFeatures() {
return (
<div className="card">
<div className="card-header">
<h3 className="card-header-title">
<h4 className="card-header-title">
<span className="me-2">🚀</span>
Upcoming {clusterName(cluster)} Features
</h3>
</h4>
</div>
<div className="table-responsive">
<div className="table-responsive small-headers">
<table className="table">
<thead>
<tr>
Expand All @@ -81,7 +81,7 @@ export function UpcomingFeatures() {
<tr key={feature.key}>
<td>
<div className="mb-2 d-flex align-items-center">
<p className="mb-0 me-3 text-decoration-underline">{feature.title}</p>
<p className="mb-0 me-3 text-decoration-underline fs-sm">{feature.title}</p>
{cluster === Cluster.MainnetBeta && feature.mainnetActivationEpoch && (
<span className="badge bg-success">Active on Mainnet</span>
)}
Expand All @@ -92,10 +92,10 @@ export function UpcomingFeatures() {
<span className="badge bg-success">Active on Testnet</span>
)}
</div>
<p className="mb-0">{feature.description}</p>
<p className="mb-0 fs-sm">{feature.description}</p>
</td>
<td>
<div className="d-flex flex-column">
<div className="d-flex flex-column fs-sm">
{feature.mainnetActivationEpoch && (
<Link
href={`/epoch/${feature.mainnetActivationEpoch}?cluster=mainnet`}
Expand Down Expand Up @@ -135,7 +135,7 @@ export function UpcomingFeatures() {
href={feature.simd_link}
target="_blank"
rel="noopener noreferrer"
className="btn btn-sm btn-outline-primary"
className="btn btn-sm btn-outline-primary fs-sm"
>
SIMD {feature.simd}
</a>
Expand Down
Loading