Compare commits

...

2 Commits

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

13
css/style.css

@ -161,7 +161,7 @@ img {
overflow-y: scroll; overflow-y: scroll;
box-sizing: border-box; box-sizing: border-box;
transition: left 0.4s; transition: left 0.4s;
border-top: 28px solid #fff; border-top: 32px solid #fff;
} }
.my-account:target { .my-account:target {
left: 0; left: 0;
@ -329,12 +329,19 @@ img {
} }
.billing-list .item { .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 { .card-box {
width: 100%; width: 100%;
position: relative; position: relative;
border-top: 28px solid #fff; border-top: 32px solid #fff;
} }
.card-number { .card-number {

4
index.html

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

Loading…
Cancel
Save