Skip to content

A platform for community discussion. Free, open, simple.

UX: Change AdminPageSubheader to H2 (#29149)

Martin Brennand56bb72819c5
diff --git a/app/assets/javascripts/admin/addon/components/admin-page-subheader.gjs b/app/assets/javascripts/admin/addon/components/admin-page-subheader.gjs
index c2d10775b94..642bfb3e99d 100644
--- a/app/assets/javascripts/admin/addon/components/admin-page-subheader.gjs
+++ b/app/assets/javascripts/admin/addon/components/admin-page-subheader.gjs
@@ -38,7 +38,7 @@ export default class AdminPageSubheader extends Component {
<template>
<div class="admin-page-subheader">
<div class="admin-page-subheader__title-row">
- <h3 class="admin-page-subheader__title">{{this.title}}</h3>
+ <h2 class="admin-page-subheader__title">{{this.title}}</h2>
{{#if (has-block "actions")}}
<div class="admin-page-subheader__actions">
{{#if this.site.mobileView}}
diff --git a/app/assets/stylesheets/common/admin/admin_page_header.scss b/app/assets/stylesheets/common/admin/admin_page_header.scss
index c29fdb31e1b..fa8be9cfab1 100644
--- a/app/assets/stylesheets/common/admin/admin_page_header.scss
+++ b/app/assets/stylesheets/common/admin/admin_page_header.scss
@@ -7,10 +7,14 @@
margin-bottom: var(--space-2);
h1,
- h3 {
+ h2 {
margin: 0;
}
+ h2 {
+ font-size: var(--font-up-2);
+ }
+
.admin-page-header__actions {
display: flex;
align-items: center;