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
1 changed files with 4 additions and 5 deletions

View File

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