Skip to content

Commit 819d151

Browse files
merge: branch 'main' of https://github.com/cppdoc-cc/cppdoc
2 parents 883e631 + 9028ca3 commit 819d151

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/components/revision/RevisionSelector.astro

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
import type { CxxRevision } from "@src/types";
2+
import type { CxxRevision } from "@src/types";
33
44
interface Props {
55
revisions: CxxRevision[];
@@ -16,6 +16,16 @@ const { revisions } = Astro.props;
1616
<style>
1717
.revision-selector {
1818
font-size: 0.9em;
19+
background-color: var(--sl-color-bg-nav);
20+
box-shadow: var(--sl-shadow-sm);
21+
padding-block: 0.3rem;
22+
margin-bottom: 0.625rem;
23+
padding-inline: 0.5rem calc(var(--sl-caret-size) + 0.5rem);
24+
border: 1px solid var(--sl-color-hairline-light);
25+
text-overflow: ellipsis;
26+
color: inherit;
27+
cursor: pointer;
28+
appearance: menulist-button;
1929
}
2030
</style>
2131

0 commit comments

Comments
 (0)