Refactor knife display logic in index.php to prioritize equipped knife skins and improve user interaction; update CSS to allow for expanded weapon and skin lists with enhanced scrolling behavior.

This commit is contained in:
Bram Suurd
2025-06-29 23:39:21 +02:00
parent a2e60df71f
commit bfa69b7e59
2 changed files with 53 additions and 28 deletions

View File

@@ -725,10 +725,8 @@ body {
}
.weapon-list.expanded {
max-height: 300px;
max-height: 2000px;
padding: 0.5rem 0;
overflow-y: auto;
overflow-x: hidden;
}
.weapon-container {
@@ -796,10 +794,8 @@ body {
}
.weapon-skins-grid.expanded {
max-height: 250px;
max-height: 2000px;
padding: 1rem;
overflow-y: auto;
overflow-x: hidden;
}
.skins-container {