Skip to content

Commit

Permalink
Airbyte docs: Fixed JSON schema rendering issues for dark mode (#35489)
Browse files Browse the repository at this point in the history
Co-authored-by: bindipankhudi <bindi@airbyte.com>
  • Loading branch information
bindipankhudi and bindipankhudi authored Feb 21, 2024
1 parent 3fa43b3 commit 3d99634
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions docusaurus/src/components/SpecSchema.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,46 +39,47 @@
.grid {
display: grid;
grid-template-columns: 1fr 1fr 1fr;

background: var(--ifm-table-border-color);
gap: 1px;
border: 1px solid var(--ifm-table-border-color);
border-top: 1px solid var(--ifm-table-border-color);
border-right: 1px solid var(--ifm-table-border-color);
}

.headerItem {
grid-row: span 1;
grid-column: span 1;
background-color: white;
background-color: var(--ifm-table-cell-color);
text-align: left;
align-items: center;

display: flex;
flex-direction: row;
gap: 10px;
border: none;
padding: 0;
font-size: inherit;
padding: 7px;
border-left: 1px solid var(--ifm-table-border-color);
border-bottom: 1px solid var(--ifm-table-border-color);
}

.tableHeader {
background-color: #eee;
background-color: var(--ifm-table-stripe-background);
font-weight: bold;
border-bottom: 1px solid var(--ifm-table-border-color);
border-bottom: 2px solid var(--ifm-table-border-color);
padding: 7px;
}

.contentItem {
grid-row: span 1;
grid-column: span 1;
background-color: white;
background-color:var(--ifm-table-cell-color);
padding: 7px;
}

.descriptionItem {
grid-row: span 1;
grid-column: span 3;
background-color: white;
background-color:var(--ifm-table-cell-color);
margin: 0;
padding: 7px;
border-left: 1px solid var(--ifm-table-border-color);
border-bottom: 1px solid var(--ifm-table-border-color);
}

0 comments on commit 3d99634

Please sign in to comment.