0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-25 05:02:57 +01:00

Move breadcrumbs styling in _listing.scss to its own _breadcrumbs.scss file

This commit is contained in:
Sage Abdullah 2023-12-12 15:03:36 +00:00 committed by Thibaud Colas
parent 6f92a71253
commit f4f08ee2fe
3 changed files with 16 additions and 16 deletions

View File

@ -0,0 +1,15 @@
.page-explorer .w-breadcrumbs {
@apply sm:w-py-2.5;
li[hidden] ~ li:last-child,
li:only-child {
a {
font-size: theme('fontSize.18');
font-weight: theme('fontWeight.extrabold');
@include media-breakpoint-up(md) {
font-size: theme('fontSize.22');
}
}
}
}

View File

@ -413,22 +413,6 @@ table.listing {
} }
} }
.page-explorer .w-breadcrumbs {
@apply sm:w-py-2.5;
li[hidden] ~ li:last-child,
li:only-child {
a {
font-size: theme('fontSize.18');
font-weight: theme('fontWeight.extrabold');
@include media-breakpoint-up(md) {
font-size: theme('fontSize.22');
}
}
}
}
.page-explorer .listing { .page-explorer .listing {
position: relative; position: relative;

View File

@ -163,6 +163,7 @@ These are classes for components.
@import 'components/preview-error'; @import 'components/preview-error';
@import 'components/form-side'; @import 'components/form-side';
@import 'components/userbar'; @import 'components/userbar';
@import 'components/breadcrumbs';
@import '../src/components/Sidebar/Sidebar'; @import '../src/components/Sidebar/Sidebar';
@import '../src/components/Minimap/Minimap'; @import '../src/components/Minimap/Minimap';