Compare commits

...

2 Commits

Author SHA1 Message Date
Rieko-wang 9ac553f18e 123 2 years ago
Rieko-wang 29808e6f25 123 2 years ago
  1. 13
      css/style.css
  2. 4
      index.html

13
css/style.css

@ -161,7 +161,7 @@ img {
overflow-y: scroll;
box-sizing: border-box;
transition: left 0.4s;
border-top: 28px solid #fff;
border-top: 32px solid #fff;
}
.my-account:target {
left: 0;
@ -329,12 +329,19 @@ img {
}
.billing-list .item {
/* margin-top: -0.3rem; */
margin-top: -0.3rem;
}
.billing-list .item .bg::after {
content: "";
height: 1px solid #e5e5e5;
position: absolute;
left: 1.45rem;
bottom: 0;
}
.card-box {
width: 100%;
position: relative;
border-top: 28px solid #fff;
border-top: 32px solid #fff;
}
.card-number {

4
index.html

@ -126,10 +126,10 @@
$("#m1").each(function () {
if (this.complete) {
console.log('complete', this.height)
$('.billing-list').css('paddingTop', this.height + 28)
$('.billing-list').css('paddingTop', this.height + 52)
} else {
$($(this)).on('load', function () {
$('.billing-list').css('paddingTop', this.height + 28)
$('.billing-list').css('paddingTop', this.height + 52)
});
}
});

Loading…
Cancel
Save