Skip to content

Commit 6491fb7

Browse files
committed
fine tune
1 parent b7d3080 commit 6491fb7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Elastic.Markdown/Assets/styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
background-color: transparent;
2323
}
2424
&:hover::-webkit-scrollbar-thumb {
25-
background-color: var(--color-gray-light);
25+
background-color: var(--color-gray-300);
2626
}
2727
&::-webkit-scrollbar {
2828
width: calc(var(--spacing) * 2);

src/Elastic.Markdown/Slices/Layout/_TocTreeNav.cshtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@
4747
class="hidden"
4848
aria-hidden="true"
4949
data-should-expand="@((containsCurrent).ToLowerString())"
50-
@(shouldInitiallyExpand ? "checked" : string.Empty)>
50+
@(shouldInitiallyExpand ? "checked" : string.Empty)
51+
>
5152
<a
5253
href="@g.Index?.Url"
5354
class="block my-1 text-sm leading-[1.2em] tracking-[-0.02em] hover:text-black @(g.Depth == 1 ? "uppercase tracking-[0.05em] text-ink-light font-semibold" : string.Empty) @(containsCurrent ? "font-semibold" : string.Empty) @(isCurrent ? "current text-blue-elastic!" : string.Empty)">

0 commit comments

Comments
 (0)