Skip to content

Instantly share code, notes, and snippets.

@chriskirknielsen
Last active October 27, 2023 21:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chriskirknielsen/822248b61f2f957a3d58cf2b5eb84d81 to your computer and use it in GitHub Desktop.
Save chriskirknielsen/822248b61f2f957a3d58cf2b5eb84d81 to your computer and use it in GitHub Desktop.
notion.so
/* Update view https://gist.github.com/chriskirknielsen/822248b61f2f957a3d58cf2b5eb84d81 */
.notion-scroller.vertical {
scrollbar-gutter: stable;
}
.notion-table-view > .notion-collection_view-block > .notion-table-view-header-row + :empty + div > :not(.notion-table-view-frozen-column-repositioner).notion-collection-item:nth-last-child(odd),
.notion-table-view-frozen-column-repositioner + div:not([class]) ~ .notion-collection-item:nth-child(odd),
.notion-table-row:nth-last-child(odd) {
--row-alt-bg: #222222;
background-color: #222222;
}
.notion-table-view-frozen-column-repositioner + div:not([class]) ~ .notion-collection-item:nth-child(odd) > .notion-table-view-row > div > div[style*="sticky"] {
background-color: var(--row-alt-bg) !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment