Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move sticky correspondence headers down for admin. #1771

Merged
merged 1 commit into from
Aug 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions app/assets/stylesheets/responsive/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -868,6 +868,11 @@ div.correspondence {
border-top: 8px solid $outgoing-correspondence-color;
}

/* If admin banner shown at the top, it overlaps body content, so move the sticky down */
.admin + .entirebody & {
top: 41px;
}

/* This is so you can't see the text box under the rounded corners of the
* sticky header. Can all be removed if you don't have rounded corners. */
&::before, &::after {
Expand Down
Loading