mirror of
https://github.com/Nereziel/cs2-WeaponPaints.git
synced 2026-02-26 05:04:47 +00:00
Enhance skin loading in index.php with lazy loading implementation for improved performance; update style.css to adjust dimensions and styling of skin images and modal overlay for better UI experience.
This commit is contained in:
@@ -403,8 +403,9 @@ body {
|
||||
}
|
||||
|
||||
.overlay-content {
|
||||
width: 900px;
|
||||
height: 600px;
|
||||
width: 1000px;
|
||||
height: 700px;
|
||||
max-height: 85vh;
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
@@ -471,10 +472,14 @@ body {
|
||||
|
||||
.skin-item .skin-image {
|
||||
width: 100%;
|
||||
height: 250px;
|
||||
height: 180px;
|
||||
object-fit: contain;
|
||||
background: linear-gradient(145deg, #333, #222);
|
||||
padding: 0.5rem;
|
||||
padding: 0.75rem;
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
transform: scale(1.2);
|
||||
transform-origin: center;
|
||||
}
|
||||
|
||||
.skin-name {
|
||||
|
||||
Reference in New Issue
Block a user