Hallo,
Als ich weitere Einstellungen zu meinem Theme hinzufügte, wurde deutlich, dass Discourse sie ignorierte.
Code:
#main-outlet-wrapper .sidebar-wrapper {
@if $Full_Width == true {
left: 10px;
}
}
@if $Full_Width == true {
:root {
--d-max-width: 95%;
}
#main-outlet {
max-width: 90%;
margin-left: auto;
margin-right: auto;
margin-top: 5px;
margin-bottom: 50px;
}
}
Dieser Code tut nichts, egal welchen Wert die Einstellung hat.
Wenn ich jedoch == true entferne, wird er immer aktiviert, egal was passiert.
Das scheint auch das Problem bei jedem anderen bool zu sein? Ich habe die Sass-Dokumentation gelesen und mein Code stimmt überein, aber es funktioniert immer noch nicht.
div#main-outlet.wrap.not-found-container,
#main-outlet-wrapper {
#main-outlet,
.sidebar-wrapper {
@if $Is_Background_Blurred {
backdrop-filter: blur(3rem) !important;
background-color: #0a0a0aa6 !important;
input[type],
.select-kit.combo-box .select-kit-header,
.d-editor-textarea-wrapper,
div.ac-wrap {
background: transparent;
}
}
@else {
backdrop-filter: none !important;
background-color: var(--secondary) !important;
input[type],
.select-kit.combo-box .select-kit-header,
.d-editor-textarea-wrapper,
div.ac-wrap {
background: transparent;
}
}
}
}
Vielen Dank für jede Hilfe.
