Skip to content

Commit 0cd1fa7

Browse files
Kapil GowruKapil Gowru
authored andcommitted
fix: added changelog icon
1 parent 47c6bbd commit 0cd1fa7

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed
Lines changed: 3 additions & 0 deletions
Loading

fern/products/sdks/introduction.mdx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ description: Generate idiomatic SDKs in multiple programming languages
1414
border-radius: 0.5rem;
1515
transition: background-color 0.15s ease-in-out;
1616
position: relative;
17+
height: 2rem;
1718
1819
img {
1920
flex-shrink: 0;
@@ -23,22 +24,19 @@ description: Generate idiomatic SDKs in multiple programming languages
2324
}
2425
2526
div {
26-
margin-left: 12px;
27-
font-size: 16px;
27+
font-size: 1rem;
2828
white-space: nowrap;
2929
max-width: 0;
3030
opacity: 0;
3131
overflow: hidden;
3232
transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
33-
display: none;
33+
width: 0;
3434
}
3535
3636
&:hover {
3737
background-color: var(--grayscale-a3);
38-
width: auto;
3938
4039
div {
41-
display: block;
4240
max-width: 200px;
4341
opacity: 1;
4442
width: fit-content;
@@ -75,7 +73,8 @@ description: Generate idiomatic SDKs in multiple programming languages
7573
v<Markdown src="/snippets/version-number-ts.mdx"/>
7674
</div>
7775
<div class="changelog-button text-(color:--grayscale-a12) text-body text-base font-light">
78-
<img src="./images/icons/changelog-icon.svg" alt="Changelog" className="m-0" noZoom />
76+
<img src="./images/icons/changelog-icon.svg" alt="Changelog" className="m-0 dark:hidden" noZoom />
77+
<img src="./images/icons/changelog-icon-dark.svg" alt="Changelog" className="m-0 hidden dark:block" noZoom />
7978
<div class="text-(color:--grayscale-a12) text-body text-base font-light">
8079
Changelog
8180
</div>

0 commit comments

Comments
 (0)