discourse/app/assets/stylesheets/common/admin/admin_revamp.scss
Krzysztof Kotlarek 74f24d5973
FIX: bold sidebar header when admin sidebar is disabled (#26993)
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.
2024-05-13 12:36:03 +10:00

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;
}
}