Skip to content

Commit

Permalink
Merge pull request #340 from vordgi/rd-339
Browse files Browse the repository at this point in the history
rd-339 improve sidebar transitions
  • Loading branch information
vordgi authored Oct 16, 2024
2 parents 85e90b2 + 6924d6d commit 382af98
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/robindoc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "robindoc",
"version": "2.1.4",
"version": "2.1.5",
"description": "",
"main": "./lib/index.js",
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
border-bottom-left-radius: 2px;
background-color: var(--neutral200);
z-index: 1;
transition: background-color 0.3s;
transition: background-color 0.2s;
}

.r-sidebar-nav {
Expand Down Expand Up @@ -153,6 +153,7 @@
width: 2px;
height: calc(100% + 4px);
background-color: var(--neutral200);
transition: 0.2s;
}
}

Expand Down Expand Up @@ -193,6 +194,7 @@
border-bottom: 2px solid transparent;
border-radius: 2px;
text-decoration: none;
transition: 0.2s;
}

.r-sidebar-link._target {
Expand Down Expand Up @@ -227,6 +229,7 @@
background-color: var(--neutral200);
list-style: none;
cursor: pointer;
transition: 0.2s;

&:hover {
background-color: var(--neutral300);
Expand All @@ -246,7 +249,7 @@

.r-sidebar-drop-icon {
display: block;
transition: transform 0.3s;
transition: transform 0.2s;
}

.r-sidebar-drop[open] > .r-sidebar-drop-btn > .r-sidebar-drop-icon {
Expand Down

0 comments on commit 382af98

Please sign in to comment.