Refactor knife skin selection in index.php to support multiple knife types and improve user interaction; update CSS to enhance layout and scrolling behavior for weapon lists and skins.

This commit is contained in:
Bram Suurd
2025-06-29 23:32:20 +02:00
parent e8871f91ac
commit a2e60df71f
2 changed files with 55 additions and 22 deletions

View File

@@ -130,6 +130,8 @@ body {
display: flex;
flex-direction: column;
position: relative;
max-height: 100vh;
overflow: hidden;
}
.sidebar-header {
@@ -172,6 +174,8 @@ body {
.sidebar-nav {
flex: 1;
padding: 1rem 0;
overflow-y: auto;
overflow-x: hidden;
}
.nav-item {
@@ -721,7 +725,7 @@ body {
}
.weapon-list.expanded {
max-height: 500px;
max-height: 300px;
padding: 0.5rem 0;
overflow-y: auto;
overflow-x: hidden;
@@ -792,7 +796,7 @@ body {
}
.weapon-skins-grid.expanded {
max-height: 400px;
max-height: 250px;
padding: 1rem;
overflow-y: auto;
overflow-x: hidden;