Rieko-wang 2 years ago
parent
commit
29808e6f25
  1. 4
      css/style.css
  2. 4
      index.html

4
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;
@ -334,7 +334,7 @@ img {
.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 + 48)
} else { } else {
$($(this)).on('load', function () { $($(this)).on('load', function () {
$('.billing-list').css('paddingTop', this.height + 28) $('.billing-list').css('paddingTop', this.height + 48)
}); });
} }
}); });

Loading…
Cancel
Save