Après la mise à jour vers la dernière version (Commits · discourse/discourse · GitHub ), je constate quelques problèmes mineurs.
Lorsque je suis dans la section Admin, les titres du panneau latéral sont en gras.
Mais lorsque je reviens à la page principale, ces titres redeviennent normaux (comme toujours).
Je pense que cela a été ajouté dans
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">
Mais cela affecte non seulement la barre latérale d’administration, mais aussi la barre latérale normale lorsque la barre latérale d’administration est désactivée.
2 « J'aime »
J’ai divisé le problème category-banners en un sujet distinct :
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 « J'aime »
bryce
(Bryce Huhtala)
Mai 9, 2024, 3:26
4
Ceci était un changement intentionnel dont le but était de rendre la barre latérale de l’administrateur plus visuellement distincte d’un coup d’œil.
Merci @moin –bonne remarque !
1 « J'aime »
Merci d’avoir signalé cela
Je viens de corriger ce bug dans cette 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 « J'aime »
Ce sujet a été automatiquement fermé après 3 jours. Les nouvelles réponses ne sont plus autorisées.