Compare commits

...

2 Commits

Author SHA1 Message Date
Rieko-wang 31052584af 123 3 years ago
Rieko-wang a2405d57b6 123 3 years ago
  1. 5
      css/style.css
  2. 4
      index.html

5
css/style.css

@ -144,6 +144,7 @@ img {
box-sizing: border-box; box-sizing: border-box;
transition: left 0.4s; transition: left 0.4s;
top: 0; top: 0;
/* border-top: 28px solid #fff; */
} }
.my-account { .my-account {
width: 100%; width: 100%;
@ -160,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: 28px solid #fff;
} }
.my-account:target { .my-account:target {
left: 0; left: 0;
@ -194,6 +195,7 @@ img {
.account-header { .account-header {
position: relative; position: relative;
/* border-top: 28px solid #fff; */
} }
.account-back { .account-back {
width: 4rem; width: 4rem;
@ -332,6 +334,7 @@ img {
.card-box { .card-box {
width: 100%; width: 100%;
position: relative; position: relative;
border-top: 28px 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 + 37) $('.billing-list').css('paddingTop', this.height + 28)
} else { } else {
$($(this)).on('load', function () { $($(this)).on('load', function () {
$('.billing-list').css('paddingTop', this.height + 37) $('.billing-list').css('paddingTop', this.height + 28)
}); });
} }
}); });

Loading…
Cancel
Save