From d1d8edbb1c0b78acd54a7b6145c559e3a8c51f5c Mon Sep 17 00:00:00 2001 From: ViVi Date: Sun, 5 May 2024 22:39:22 +0900 Subject: [PATCH] =?UTF-8?q?[SW2]=20=E5=80=9F=E9=87=91=EF=BC=8F=E9=A0=90?= =?UTF-8?q?=E9=87=91=E3=81=8C=E3=81=A8=E3=82=82=E3=81=AB=200=20=E3=81=AA?= =?UTF-8?q?=E3=82=89=20`=E2=80=95`=20=E3=81=A8=E8=A1=A8=E7=A4=BA=E3=81=99?= =?UTF-8?q?=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _core/lib/sw2/view-chara.pl | 2 +- _core/skin/sw2.0/sheet-chara.html | 2 +- _core/skin/sw2/css/chara.css | 4 ++++ _core/skin/sw2/sheet-chara.html | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/_core/lib/sw2/view-chara.pl b/_core/lib/sw2/view-chara.pl index 84f76326e..01e213f8c 100644 --- a/_core/lib/sw2/view-chara.pl +++ b/_core/lib/sw2/view-chara.pl @@ -953,7 +953,7 @@ $SHEET->param(money => commify($pc{moneyTotal})); } if($pc{deposit} =~ /^(?:自動|auto)$/i){ - $SHEET->param(deposit => commify($pc{depositTotal}).' G / '.commify($pc{debtTotal})); + $SHEET->param(deposit => $pc{depositTotal} || $pc{debtTotal} ? commify($pc{depositTotal}).' G / '.commify($pc{debtTotal}) : ''); } $pc{cashbook} =~ s/(:(?:\:|<|>))((?:[\+\-\*\/]?[0-9,]+)+)/$1.cashCheck($2)/eg; $SHEET->param(cashbook => $pc{cashbook}); diff --git a/_core/skin/sw2.0/sheet-chara.html b/_core/skin/sw2.0/sheet-chara.html index 63d7f81ed..e0e62f174 100644 --- a/_core/skin/sw2.0/sheet-chara.html +++ b/_core/skin/sw2.0/sheet-chara.html @@ -497,7 +497,7 @@

所持金
G -
預金/借金
G +
預金/借金
G

所持品

diff --git a/_core/skin/sw2/css/chara.css b/_core/skin/sw2/css/chara.css index 6ab43ac5d..1d9961ee1 100644 --- a/_core/skin/sw2/css/chara.css +++ b/_core/skin/sw2/css/chara.css @@ -901,6 +901,10 @@ dl#level { } & dd { grid-row: 2; + + &:last-child:empty::before { + content: "―"; + } } } diff --git a/_core/skin/sw2/sheet-chara.html b/_core/skin/sw2/sheet-chara.html index 497c15dca..7b67cf7da 100644 --- a/_core/skin/sw2/sheet-chara.html +++ b/_core/skin/sw2/sheet-chara.html @@ -473,7 +473,7 @@

所持金
G -
預金/借金
G +
預金/借金
G

所持品