diff --git a/packages/web-twig/src/Resources/components/Breadcrumbs/Breadcrumbs.twig b/packages/web-twig/src/Resources/components/Breadcrumbs/Breadcrumbs.twig index 5cbffe31a2..6f62d7331a 100644 --- a/packages/web-twig/src/Resources/components/Breadcrumbs/Breadcrumbs.twig +++ b/packages/web-twig/src/Resources/components/Breadcrumbs/Breadcrumbs.twig @@ -6,6 +6,9 @@ {# Class names #} {%- set _rootClassName = _spiritClassPrefix ~ 'Breadcrumbs' -%} +{%- set _displayNoneClassName = _spiritClassPrefix ~ 'd-none' -%} +{%- set _displayTabletNoneClassName = _spiritClassPrefix ~ 'd-tablet-none' -%} +{%- set _displayTabletFlexClassName = _spiritClassPrefix ~ 'd-tablet-flex' -%} {# Miscellaneous #} {%- set _styleProps = useStyleProps(props) -%} @@ -22,12 +25,12 @@
    {% for item in _items %} {% if loop.index is same as(_items|length - 1) and _goBackTitle is not same as('') %} -
  1. +
  2. {{ _goBackTitle }}
  3. {% endif %} -
  4. +
  5. {% if loop.index0 is not same as(0) %} {% endif %} diff --git a/packages/web-twig/src/Resources/components/FileUploader/FileUploaderAttachment.twig b/packages/web-twig/src/Resources/components/FileUploader/FileUploaderAttachment.twig index 875c2309ec..ea66b668e7 100644 --- a/packages/web-twig/src/Resources/components/FileUploader/FileUploaderAttachment.twig +++ b/packages/web-twig/src/Resources/components/FileUploader/FileUploaderAttachment.twig @@ -12,7 +12,9 @@ {%- set _rootClassName = _spiritClassPrefix ~ 'FileUploaderAttachment' -%} {%- set _imageClassName = _spiritClassPrefix ~ 'FileUploaderAttachment__image' -%} {%- set _nameClassName = _spiritClassPrefix ~ 'FileUploaderAttachment__name' -%} -{%- set _removeClassName = _spiritClassPrefix ~ 'FileUploaderAttachment__action' -%} +{%- set _actionClassName = _spiritClassPrefix ~ 'FileUploaderAttachment__action' -%} +{%- set _slotClassName = _spiritClassPrefix ~ 'FileUploaderAttachment__slot' -%} +{%- set _textTruncateClassName = _spiritClassPrefix ~ 'text-truncate' -%} {# Attributes #} {%- set _dataImagePreviewAttr = _generateImagePreview ? 'data-spirit-imagePreview="true"' : null -%} @@ -38,13 +40,13 @@ {% endif %} - + {{- _fileName -}} {% if _onEdit %} - - @@ -52,7 +54,7 @@ {% endif %}