diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 323f6ef72f..27f71e5707 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -41,6 +41,7 @@ Changelog * Revise alignment and spacing of form fields and sections (Thibaud Colas) * Update Wagtail’s type scale so StreamField block labels and field labels are the same size (Thibaud Colas) * Allow customising the `search_fields` and search backend via SnippetViewSet (Sage Abdullah) + * Style comments as per page editor design, in side panel (Karl Hobley, Thibaud Colas) * Fix: Ensure `label_format` on StructBlock gracefully handles missing variables (Aadi jindal) * Fix: Adopt a no-JavaScript and more accessible solution for the 'Reset to default' switch to Gravatar when editing user profile (Loveth Omokaro) * Fix: Ensure `Site.get_site_root_paths` works on cache backends that do not preserve Python objects (Jaap Roes) diff --git a/client/scss/components/_form-side.scss b/client/scss/components/_form-side.scss index b0c02eb340..545fbf01d1 100644 --- a/client/scss/components/_form-side.scss +++ b/client/scss/components/_form-side.scss @@ -53,7 +53,7 @@ } &__close-button { - @apply w-text-primary w-absolute w-left-3 w-top-3 hover:w-text-primary-200 w-bg-white w-p-3 w-hidden w-transition; + @apply w-text-primary w-absolute w-left-3 w-top-3 hover:w-text-primary-200 w-bg-white w-p-3 w-transition; .icon { @apply w-w-4 w-h-4; @@ -93,10 +93,6 @@ @apply w-w-0 w-h-0 w-opacity-0 w-absolute w-pointer-events-none; } - &--open .form-side__close-button { - @apply w-block; - } - &__panel { @apply w-px-5 xl:w-px-10 w-py-4 w-w-full w-h-full w-overflow-y-auto w-scrollbar-thin; } diff --git a/client/src/components/CommentApp/components/Comment/index.tsx b/client/src/components/CommentApp/components/Comment/index.tsx index 172a994c0d..a59dfdb156 100644 --- a/client/src/components/CommentApp/components/Comment/index.tsx +++ b/client/src/components/CommentApp/components/Comment/index.tsx @@ -411,7 +411,7 @@ export default class CommentComponent extends React.Component { {gettext('Are you sure?')} diff --git a/wagtail/admin/templates/wagtailadmin/shared/side_panels/comments.html b/wagtail/admin/templates/wagtailadmin/shared/side_panels/comments.html index e69de29bb2..034e080f9a 100644 --- a/wagtail/admin/templates/wagtailadmin/shared/side_panels/comments.html +++ b/wagtail/admin/templates/wagtailadmin/shared/side_panels/comments.html @@ -0,0 +1 @@ +