Skip to content

Commit

Permalink
feat(core): ✨ always truncate sticky header first heading
Browse files Browse the repository at this point in the history
That would keep the sticky first header to always be one line, also solves #559
  • Loading branch information
alistair3149 authored Dec 20, 2022
1 parent 20417ef commit 0051115
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resources/skins.citizen.styles/StickyHeader.less
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
.citizen-body-header--sticky {
.mw-body-header {
padding-bottom: var( --space-md );
flex-wrap: nowrap;
.citizen-sticky-header;

.mw-indicators {
Expand All @@ -27,10 +28,13 @@

.page-heading {
position: relative;
min-width: 0;
}

.firstHeading {
font-size: var( --font-size-h3 );
overflow: hidden;
text-overflow: ellipsis;
}

.citizen-jumptotop {
Expand Down

0 comments on commit 0051115

Please sign in to comment.