Skip to content

Commit

Permalink
fix: adjusted
Browse files Browse the repository at this point in the history
  • Loading branch information
pengx17 committed Apr 25, 2021
1 parent 96e313e commit 25f2c62
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -682,13 +682,18 @@ html.is-electron.is-mac .cp__right-sidebar-topbar {
/* title */
.sidebar-item.content > div > div:first-of-type {
position: sticky;
top: 48px;
padding: 10px 16px;
margin: -16px -16px 4px -16px;
top: 3rem;
padding: 1rem;
margin: -1rem;
z-index: 10;
backdrop-filter: var(--ct-topbar-backdrop);
}


.sidebar-item.content > div > div:first-of-type + div {
margin-top: 1.5rem;
}

html.is-electron.is-mac .sidebar-item.content > div > div:first-of-type {
top: 58px;
}
Expand Down

0 comments on commit 25f2c62

Please sign in to comment.