Fixed feature image caption dark mode (#18379)

No ref
This commit is contained in:
Sanne de Vries 2023-09-27 12:49:35 +02:00 committed by GitHub
parent 8b62ebd40a
commit 5e85d2f58f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -933,6 +933,10 @@ input:focus,
fill: var(--darkgrey); fill: var(--darkgrey);
} }
.gh-editor-feature-image-caption {
color: var(--darkgrey);
}
.gh-editor-wordcount-container { .gh-editor-wordcount-container {
background: var(--white); background: var(--white);
} }

View File

@ -622,12 +622,13 @@ body[data-user-is-dragging] .gh-editor-feature-image-dropzone {
.gh-editor-feature-image-alttext, .gh-editor-feature-image-alttext,
.gh-editor-feature-image-caption { .gh-editor-feature-image-caption {
width: 100%; width: 100%;
height: 24px;
margin: 0 0 1.7em 0; margin: 0 0 1.7em 0;
outline: none; outline: none;
border-width: 0; border-width: 0;
border-style: none; border-style: none;
font-size: 1.4rem; font-size: 1.4rem;
line-height: 1.65; line-height: 24px;
letter-spacing: .04rem; letter-spacing: .04rem;
background-color: transparent !important; background-color: transparent !important;
transition: border-color .15s linear; transition: border-color .15s linear;