Skip to content

Commit

Permalink
fix(core): 馃悰 sticky header should not trigger in edit mode
Browse files Browse the repository at this point in the history
  • Loading branch information
alistair3149 committed Sep 30, 2022
1 parent 11544b4 commit 639c378
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions resources/skins.citizen.styles/Stickyheader.less
Expand Up @@ -6,14 +6,27 @@
visibility: hidden;
}

.ve-activated,
.action-edit {
// HACK: So sticky header will never trigger in edit action
#citizen-body-header-sticky-sentinel {
display: none;
}
}

.citizen-body-header--sticky {
.mw-body-header {
position: sticky;
z-index: 1;
top: 0;
align-items: center;
padding-bottom: var( --space-md );
border-bottom: 1px solid var( --border-color-base );
background-color: var( --color-surface-0 );

.mw-indicators {
display: none;
}
}

.firstHeading {
Expand Down

0 comments on commit 639c378

Please sign in to comment.