feat(svelte): Make diff headers on commit page sticky (#63615)

Small change to make browsing large diffs more ergonomic.

## Test plan

Manual testing.
This commit is contained in:
Felix Kling 2024-07-03 18:07:17 +02:00 committed by GitHub
parent 5e516faa2b
commit 4090f4fd17
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -62,10 +62,14 @@
<style lang="scss">
.header {
position: sticky;
top: 0;
background-color: var(--body-bg);
padding: 0.25rem 0rem;
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.25rem 0rem;
}
.hunks {