mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 18:35:23 +08:00
74f24d5973
Recently a bug was introduced when the admin sidebar section was made bold. When the admin sidebar is disabled, we display the original sidebar in the admin panel. In that case, an incorrect CSS rule is executed. ```CSS .admin-area .sidebar-wrapper { background-color: var(--d-sidebar-admin-background); .sidebar-section-header-text { font-weight: bold; } } ``` Bug in this PR: https://github.com/discourse/discourse/pull/26801 To solve it, a custom CSS class with a panel key was added which will allow granular customisations.
35 lines
618 B
SCSS
35 lines
618 B
SCSS
.admin-revamp {
|
|
&__config-area {
|
|
padding: 1em;
|
|
margin: 1em 0;
|
|
background-color: var(--primary-very-low);
|
|
}
|
|
}
|
|
|
|
.admin-config-area-sidebar-experiment {
|
|
&__editor {
|
|
margin-top: 1em;
|
|
|
|
.ace-wrapper {
|
|
position: relative;
|
|
width: 100%;
|
|
height: calc(100vh);
|
|
min-height: 500px;
|
|
.ace_editor {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.admin-area .sidebar-wrapper .admin-panel {
|
|
background-color: var(--d-sidebar-admin-background);
|
|
.sidebar-section-header-text {
|
|
font-weight: bold;
|
|
}
|
|
}
|