Skip to content

Commit

Permalink
style(next): recent changes list: use sticky headers
Browse files Browse the repository at this point in the history
  • Loading branch information
adoriandoran committed Dec 7, 2024
1 parent bf1c834 commit c5c991f
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/public/stylesheets/theme-next.css
Original file line number Diff line number Diff line change
Expand Up @@ -1293,6 +1293,14 @@ body .calendar-dropdown-widget .calendar-body a:hover {
* Recent changes list
*/

.recent-changes-dialog .modal-body {
padding: 0;
}

.recent-changes-content {
margin: var(--bs-modal-padding);
}

.recent-changes-content small {
color: var(--muted-text-color);
}
Expand All @@ -1303,10 +1311,14 @@ body .calendar-dropdown-widget .calendar-body a:hover {

/* Date headings */
.recent-changes-content > div > b {
position: sticky;
display: block;
top: 0;
background: var(--modal-background-color);
padding: 10px 0;
font-size: 1.25em;
font-weight: 300;
z-index: 10;
}

.recent-changes-content ul {
Expand All @@ -1318,11 +1330,13 @@ body .calendar-dropdown-widget .calendar-body a:hover {
/* Timeline items */
.recent-changes-content ul li,
.recent-changes-content > div > b {
position: relative;
margin: 0;
padding-left: var(--timeline-right-gap);
}

.recent-changes-content ul li {
position: relative;
}

/* Timeline connector */
.recent-changes-content ul li::before,
Expand Down

0 comments on commit c5c991f

Please sign in to comment.