Skip to content

Commit

Permalink
Fix styling of spotlight sections
Browse files Browse the repository at this point in the history
  • Loading branch information
gvdongen committed Jun 11, 2024
1 parent a5c60be commit 5f6d60b
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -367,19 +367,20 @@ video {
background-color: var(--docusaurus-highlighted-code-line-bg);
}

.single-item {
--ch-scrollycoding-code-min-height: 30px;
}

.single-item .ch-scrollycoding-step-content[data-selected] {
background-color: transparent;
border-left: none;
}

.single-item {
--ch-scrollycoding-code-min-height: 30px;
.ch-scrollycoding-step-content {
min-height: 30px;
padding: 0;
margin: 0;
box-shadow: none;
}
.single-item .ch-scrollycoding-step-content {
min-height: 30px;
padding: 0;
margin: 0;
box-shadow: none;
}

.ch-spotlight-tab[data-selected] {
Expand Down

0 comments on commit 5f6d60b

Please sign in to comment.