fix: Revert "fix: h2 in media edit dialog should be h1 (#1453)" (#1455)

This reverts commit 450785ea81.
This commit is contained in:
Nolan Lawson 2019-08-29 20:16:15 -07:00 committed by GitHub
parent 9787fe9f05
commit a0ad82d850
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@
> >
<div class="media-edit-dialog-container"> <div class="media-edit-dialog-container">
<div class="media-edit-header-and-item media-edit-header-and-item-alt"> <div class="media-edit-header-and-item media-edit-header-and-item-alt">
<h1>Description</h1> <h2>Description</h2>
<MediaAltEditor <MediaAltEditor
className="media-edit-item" className="media-edit-item"
{realm} {realm}
@ -20,7 +20,7 @@
</div> </div>
{#if type === 'image'} {#if type === 'image'}
<div class="media-edit-header-and-item media-edit-header-and-item-focal"> <div class="media-edit-header-and-item media-edit-header-and-item-focal">
<h1>Preview (focal point)</h1> <h2>Preview (focal point)</h2>
<MediaFocalPointEditor <MediaFocalPointEditor
className="media-edit-item" className="media-edit-item"
{realm} {realm}
@ -49,9 +49,8 @@
padding: 10px; padding: 10px;
} }
.media-edit-header-and-item h1 { .media-edit-header-and-item h2 {
margin-bottom: 10px; margin-bottom: 10px;
font-size: 1.4em;
} }
@media (max-width: 767px) { @media (max-width: 767px) {
@ -85,7 +84,7 @@
flex-basis: 60%; flex-basis: 60%;
} }
.media-edit-header-and-item h1 { .media-edit-header-and-item h2 {
font-size: 1.2em; font-size: 1.2em;
margin-bottom: 5px; margin-bottom: 5px;
} }