fix: #1569 extend breadcrumb support for an ordered list (#1648)

This commit is contained in:
Amirsina Shadkami 2023-03-01 19:37:32 +03:30 committed by GitHub
parent 0f94f76949
commit ca82b9bafe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
.breadcrumbs {
@apply py-2;
& > ul {
& > ul,& > ol {
& > li {
& > a {
&:focus {
@ -22,6 +22,7 @@
}
}
[dir="rtl"] .breadcrumbs > ul > li + *:before {
[dir="rtl"] .breadcrumbs > ul > li + *:before,
[dir="rtl"] .breadcrumbs > ol > li + *:before {
--tw-rotate: -135deg;
}

View File

@ -1,6 +1,6 @@
.breadcrumbs {
@apply max-w-full overflow-x-auto;
& > ul {
& > ul,& > ol {
@apply flex items-center whitespace-nowrap;
min-height: min-content;
& > li {