diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e5289964c3..4f8f6c0ca1d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - Fixed a PHP error that occurred when making a field layout component conditional on a Time or CKEditor field. ([craftcms/ckeditor#267](https://github.com/craftcms/ckeditor/issues/267)) - Fixed an error that occurred when editing a user via a slideout, if the current user didn’t have permission to edit the primary site. ([#15408](https://github.com/craftcms/cms/issues/15408)) - Fixed a bug where editable tables with single-select checkbox columns weren’t deselecting the selected option automatically. ([#15415](https://github.com/craftcms/cms/issues/15415)) +- Fixed a styling issue. ([#15422](https://github.com/craftcms/cms/issues/15422)) ## 4.10.6 - 2024-07-16 diff --git a/src/templates/_includes/tabs.twig b/src/templates/_includes/tabs.twig index 2b58b5031a5..caced95dc55 100644 --- a/src/templates/_includes/tabs.twig +++ b/src/templates/_includes/tabs.twig @@ -62,13 +62,15 @@ label: 'List all tabs'|t('app'), }, } %} - {% if tabsHaveErrors %} - {{ tag('span', { - data: { - icon: 'alert', - } - }) }} - {% endif %} + {%- apply spaceless %} + {% if tabsHaveErrors %} + {{ tag('span', { + data: { + icon: 'alert', + } + }) }} + {% endif %} + {% endapply -%} {% endtag %}