Skip to content

Instantly share code, notes, and snippets.

@houblon
houblon / wordpress-fix-admin-styles.scss
Last active April 20, 2020 06:50
Fix WordPress admin styles when loading theme styles in the admin
// Restore WordPress sidebar core styles which are broken by theme styles
.edit-post-sidebar {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 13px;
font-weight: unset;
line-height: 1.4em;
text-align: unset;
* {
font-family: inherit;