Compare commits

...

2 Commits

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

5
css/style.css

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

Loading…
Cancel
Save