Skip to content

tailwindui css layout support - colon is not accepted by the pattern #34430

Closed
@in-session

Description

@in-session

I would like to use tailwindui for a project, but unfortunately it is currently not possible because no colon is allowed within the htmlClass.

<!-- Width of 16 by default, 32 on medium screens, and 48 on large screens -->
<div class="max-w-md mx-auto bg-white rounded-xl shadow-md overflow-hidden md:max-w-2xl"></div>

<referenceContainer name="header-wrapper" htmlClass="max-w-md mx-auto bg-white rounded-xl shadow-md overflow-hidden md:max-w-2xl" htmlId="header" />

Element 'referenceContainer', attribute 'htmlClass': [facet 'pattern'] The value 'page-wrapper flex relative md:p-0' is not accepted by the pattern '[a-zA-Z][a-zA-Z\d\-_]*(\s[a-zA-Z][a-zA-Z\d\-_]*)*'. Line: 1306

Is there a way to make this compatible?

Metadata

Metadata

Assignees

Labels

Area: FrameworkIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: doneReported on 2.4.xIndicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.feature request

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions