Dopo l’aggiornamento all’ultima build (Commits · discourse/discourse · GitHub ) ho riscontrato alcuni piccoli problemi.
Quando mi trovo nella sezione Admin, i titoli del pannello laterale sono in grassetto.
Ma quando torno alla pagina principale, questi titoli tornano normali (come è sempre stato).
Moin
9 Maggio 2024, 7:07am
2
Penso che questo sia stato aggiunto in
main ← lis2:admin-sidebar-css
opened 06:20AM - 29 Apr 24 UTC
Make admin sidebar headings bold.
Admin screenshot
<img width="1456" alt="Sc… reenshot 2024-04-29 at 4 17 20 PM" src="https://github.com/discourse/discourse/assets/72780/63920b63-a498-4614-b6b9-ece7a24e6bda">
Original sidebar headers are untouched
<img width="1449" alt="Screenshot 2024-04-29 at 4 17 38 PM" src="https://github.com/discourse/discourse/assets/72780/354f3527-e04f-4b04-87f5-27d5676a6b3b">
Ma influisce non solo sulla barra laterale dell’amministratore, ma anche sulla barra laterale normale quando la barra laterale dell’amministratore è disabilitata.
2 Mi Piace
Ho separato il problema category-banners in un argomento separato:
The Category Banner theme component now shows URLs in a different color. These weren’t black before, I believe they had a different color. Is this intended?
[image]
3 Mi Piace
bryce
(Bryce Huhtala)
9 Maggio 2024, 3:26pm
4
Questa è stata una modifica intenzionale con lo scopo di rendere la barra laterale dell’amministratore più visivamente distinta a colpo d’occhio.
Grazie @moin –ottima osservazione!
1 Mi Piace
Grazie per la segnalazione
Ho appena corretto quel bug in questa PR
main ← lis2:bold-sidebar-bug
opened 01:00AM - 13 May 24 UTC
Recently a bug was introduced when the admin sidebar section was made bold.
W… hen 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.
The demo that admin sidebar has still bold headers
<img width="1425" alt="Screenshot 2024-05-13 at 10 55 07 AM" src="https://github.com/discourse/discourse/assets/72780/8e8bc85a-2bfd-4125-8a80-73225f4a45f6">
The demo that the original sidebar is ok
<img width="1408" alt="Screenshot 2024-05-13 at 10 55 20 AM" src="https://github.com/discourse/discourse/assets/72780/fd69896c-3219-483f-943d-e78b0d3634d8">
1 Mi Piace
Questo argomento è stato chiuso automaticamente dopo 3 giorni. Non sono più consentite nuove risposte.