Skip to content

Commit

Permalink
CMS UI improvements - heading component and logo
Browse files Browse the repository at this point in the history
  • Loading branch information
liamjohnston committed Jun 18, 2024
1 parent 7a0226b commit 9864708
Show file tree
Hide file tree
Showing 3 changed files with 100 additions and 2 deletions.
95 changes: 95 additions & 0 deletions static/images/cdh-logo-admin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions static/wagtailadmin/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/* Remove extra unneeded "heading" label (without `for`) */
[data-contentpath='heading'] > .w-field__label:not([for]) {
display: none;
}
3 changes: 1 addition & 2 deletions templates/wagtailadmin/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
{% load static %}

{% block branding_logo %}
<img src="{% static 'img/cdh-logo-assets/CDH_logo_white.svg' %}"
alt="CDH Website" width="100"/>
<img src="{% static 'images/cdh-logo-admin.svg' %}" alt="CDH Website admin" width="140"/>
{% endblock %}

0 comments on commit 9864708

Please sign in to comment.