mirror of
https://github.com/Nereziel/cs2-WeaponPaints.git
synced 2026-03-07 07:31:11 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user