From 4c7abc1c3ac62cda3fc42b7b7b635ea2b3ee39f1 Mon Sep 17 00:00:00 2001 From: Rieko-wang Date: Wed, 7 Dec 2022 13:45:06 +0800 Subject: [PATCH] 123 --- css/style.css | 6 ++++-- index.html | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/css/style.css b/css/style.css index 13bc03f..b171069 100644 --- a/css/style.css +++ b/css/style.css @@ -330,13 +330,15 @@ img { .billing-list .item { margin-top: -0.3rem; + overflow: hidden; } -.billing-list .item .card-l::after { +.billing-list .item::after { content: ""; - height: 1px solid #e5e5e5; + border-bottom: 1px solid #e5e5e5; position: absolute; left: 1.45rem; bottom: 0; + width: calc(100% - 1.45rem); } .card-box { width: 100%; diff --git a/index.html b/index.html index de5a428..809badc 100644 --- a/index.html +++ b/index.html @@ -126,10 +126,10 @@ $("#m1").each(function () { if (this.complete) { console.log('complete', this.height) - $('.billing-list').css('paddingTop', this.height + 48) + $('.billing-list').css('paddingTop', this.height + 45) } else { $($(this)).on('load', function () { - $('.billing-list').css('paddingTop', this.height + 48) + $('.billing-list').css('paddingTop', this.height + 45) }); } });