[5.0.x-alpha2] Wrong variants used in tabs presenter template

Created on 21 February 2025, about 1 month ago

Problem/Motivation

In menu-local-tasks.html.twig we are using wrong variants id ...

Proposed resolution

Update menu-local-tasks.html.twig like that:

{% if primary %}
  <h2 class="visually-hidden">{{ 'Primary tabs'|t }}</h2>
  {{ include('ui_suite_daisyui:tabs', {
  variant: '<strong>lift</strong>',
  items: primary,
  attributes: attributes.addClass('pb-3'),
  }, with_context: false) }}
{% endif %}
{% if secondary %}
  <h2 class="visually-hidden">{{ 'Secondary tabs'|t }}</h2>
  {{ include('ui_suite_daisyui:tabs', {
  variant: '<strong>border</strong>',
  items: secondary,
  attributes: attributes.addClass('pb-3'),
  }, with_context: false) }}
{% endif %}
πŸ› Bug report
Status

Active

Version

5.0

Component

Code

Created by

πŸ‡«πŸ‡·France G4MBINI BΓ¨gles

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024