Skip to content

Commit

Permalink
Merge branch 'main' into static-generation-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
neSpecc authored Apr 26, 2024
2 parents 6e2cb1b + a6391a3 commit 19fa624
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "codex.docs",
"license": "Apache-2.0",
"version": "v2.2.0-rc.16",
"version": "v2.2.1",
"type": "module",
"bin": {
"codex.docs": "dist/backend/app.js"
Expand Down
5 changes: 4 additions & 1 deletion src/frontend/styles/components/header.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ html {

@media (--not-mobile) {
padding: 4px 10px;
@apply --squircle;

&:hover {
@apply --squircle;
}
}

&:hover {
Expand Down
7 changes: 5 additions & 2 deletions src/frontend/styles/components/sidebar.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -182,13 +182,16 @@
transition-property: background-color;
transition-duration: 0.1s;

@apply --squircle;

&--selected {
border-radius: 8px;
/* border using box-shadow which doesn't increase the height */
box-shadow: 0 0 0 2px rgba(147, 166, 233, 0.5) inset;
}

&--active,
&:hover {
@apply --squircle;
}
}

&__section-title > span,
Expand Down
5 changes: 4 additions & 1 deletion src/frontend/styles/components/table-of-content.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@
gap: 2px;

&-item {
@apply --squircle;
&:hover,
&--active {
@apply --squircle;
}

&:hover {
background-color: var(--color-link-hover);
Expand Down

0 comments on commit 19fa624

Please sign in to comment.