Skip to content

Commit c15fb34

Browse files
committed
fix:pet
1 parent ab4dbd4 commit c15fb34

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

src/assets/css/pet/pc/item.less

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@
88
.r(10px);
99
.clip;
1010
.h(200px);
11-
width: calc(33% - 10px);
12-
min-width: 400px;
13-
max-width: 1200px;
11+
width: 733px;
12+
min-width: 733px;
13+
max-width: 733px;
14+
aspect-ratio: 1100 / 300;
1415
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
1516
.u-pet {
1617
.db;

src/assets/css/pet/pc/list.less

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,18 @@
2020
.m-pvx-pet-lucky-list {
2121
.flex;
2222
.w(100%);
23-
.scrollbar(2px);
23+
.scrollbar(6px, #f3f4f5, #c7d0d9);
2424
padding: 10px;
25+
padding-bottom: 16px;
2526
.ml(-10px);
2627
.gap(20px);
2728
overflow-x: auto;
2829
overflow-y: hidden;
2930

31+
&::-webkit-scrollbar {
32+
height: 6px;
33+
}
34+
3035
.m-pvx-pet-lucky-item {
3136
flex-shrink: 0;
3237
}

0 commit comments

Comments
 (0)