UX: Correct padding and height for sidebar section message (#18410)

Follow-up to f1cbc23f1e
This commit is contained in:
Alan Guo Xiang Tan 2022-09-29 14:06:28 +08:00 committed by GitHub
parent 3ec1808d75
commit 4c2525adc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -113,11 +113,12 @@
.sidebar-section-message-wrapper { .sidebar-section-message-wrapper {
display: flex; display: flex;
padding-top: 0; padding-top: 0;
height: initial;
} }
.sidebar-section-message { .sidebar-section-message {
color: var(--primary); color: var(--primary);
padding-left: 1.4em; padding-left: calc(var(--d-sidebar-section-link-prefix-width) + var(--d-sidebar-section-link-prefix-margin-right));
} }
.sidebar-section-content { .sidebar-section-content {