Compare commits

..

No commits in common. "d7e0302f895a8fc1128f28966debe8c3ec757907" and "2ad40de889c57084079880216ae8c4426ddf1d7c" have entirely different histories.

4 changed files with 6 additions and 17 deletions

View File

@ -219,7 +219,6 @@ function getPath(page) {
.pages {
display: flex;
gap: 0 .25rem;
}
.wrap {
@ -228,11 +227,6 @@ function getPath(page) {
.before {
flex-direction: row-reverse;
margin-right: .25rem;
}
.after {
margin-left: .25rem;
}
.index {
@ -246,7 +240,6 @@ function getPath(page) {
display: inline-flex;
justify-content: center;
align-items: center;
border-radius: .5rem;
margin-bottom: 1rem;
background: var(--background);
box-shadow: 0 0 3px var(--shadow-weak-30);
@ -261,8 +254,7 @@ function getPath(page) {
}
&.active {
background: var(--primary);
color: var(--text-light);
color: var(--primary);
}
&.disabled .icon {
@ -291,7 +283,7 @@ function getPath(page) {
}
.page {
width: 2.25rem;
width: 2rem;
height: 2.5rem;
}
}

4
package-lock.json generated
View File

@ -1,11 +1,11 @@
{
"name": "traxxx-web",
"version": "0.12.1",
"version": "0.12.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"version": "0.12.1",
"version": "0.12.0",
"dependencies": {
"@brillout/json-serializer": "^0.5.8",
"@dicebear/collection": "^7.0.5",

View File

@ -70,5 +70,5 @@
"postcss-custom-media": "^10.0.2",
"postcss-nesting": "^12.0.2"
},
"version": "0.12.1"
"version": "0.12.0"
}

View File

@ -106,10 +106,7 @@ function calculateActiveCategory() {
const activeLink = document.querySelector(`a[href="#${activeCategory.value}"]`);
activeLink.scrollIntoView({
behavior: 'smooth',
inline: 'center',
});
activeLink.scrollIntoView();
navigate(`#${activeCategory.value}`, null, { replace: true });
}