Skip to content

Commit

Permalink
chore(baseline): change h2 in summary to div (#12433)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoMcA authored Jan 10, 2025
1 parent 9cb81c3 commit 2a7aa70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/src/document/baseline-indicator.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ $browsers: "chrome", "edge", "firefox", "safari";
width: var(--width);
}

h2 {
.status-title {
font-size: 1rem;
font-weight: 600;
letter-spacing: 0;
Expand Down
4 changes: 2 additions & 2 deletions client/src/document/baseline-indicator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export function BaselineIndicator({ status }: { status: SupportStatus }) {
role="img"
aria-label={level !== "not" ? "Baseline Check" : "Baseline Cross"}
/>
<h2>
<div className="status-title">
{level !== "not" ? (
<>
Baseline{" "}
Expand All @@ -130,7 +130,7 @@ export function BaselineIndicator({ status }: { status: SupportStatus }) {
) : (
<span className="not-bold">Limited availability</span>
)}
</h2>
</div>
{level === "low" && <div className="pill">Newly available</div>}
<div className="browsers">
{ENGINES.map(({ name, browsers }) => (
Expand Down

0 comments on commit 2a7aa70

Please sign in to comment.