Skip to content

Commit

Permalink
feat: fixed header
Browse files Browse the repository at this point in the history
  • Loading branch information
09473ZH committed May 4, 2024
1 parent cc2f05f commit 79fa16b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@
overflow-y: auto;

.file-header {
position: sticky;
top: 0;
z-index: 1;
background-color: var(--color-canvas-subtle);
border-bottom: 1px solid var(--color-border-default);
padding: 8px 16px;
font-size: 12px;
font-family: ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;

font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
.file-info {
display: flex;
justify-content: space-between;
Expand Down

0 comments on commit 79fa16b

Please sign in to comment.