GH-959 - Fixing board headers on scroll (#984)

This commit is contained in:
Asaad Mahmood 2021-08-16 23:00:55 +05:00 committed by GitHub
parent 969ceeb93e
commit 7b5a45dc6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 4 deletions

View file

@ -47,7 +47,7 @@
} }
> div:nth-child(2) { > div:nth-child(2) {
padding: 4px; padding: 0;
margin-left: 80px; margin-left: 80px;
} }
} }

View file

@ -7,7 +7,7 @@
flex-direction: row; flex-direction: row;
min-height: 30px; min-height: 30px;
padding-bottom: 16px; padding: 16px 0;
color: #909090; color: #909090;
position: sticky; position: sticky;
top: 0; top: 0;

View file

@ -151,6 +151,7 @@
} }
&.octo-table-body { &.octo-table-body {
margin-top: 16px;
display: flex; display: flex;
flex: 1; flex: 1;
flex-direction: column; flex-direction: column;
@ -171,7 +172,7 @@
.octo-table-header { .octo-table-header {
position: sticky; position: sticky;
top: 0; top: -2px;
z-index: 1; z-index: 1;
background: rgb(var(--center-channel-bg-rgb)); background: rgb(var(--center-channel-bg-rgb));

View file

@ -4,7 +4,7 @@
flex-direction: row; flex-direction: row;
border-bottom: solid 1px rgba(var(--center-channel-color-rgb), 0.16); border-bottom: solid 1px rgba(var(--center-channel-color-rgb), 0.16);
margin: 16px 0; margin: 16px 0 0;
padding: 12px 8px; padding: 12px 8px;
color: rgba(var(--center-channel-color-rgb), 0.64); color: rgba(var(--center-channel-color-rgb), 0.64);
align-items: center; align-items: center;