mirror of
https://github.com/standardebooks/web.git
synced 2025-07-13 10:02:02 -04:00
Restore 0 to donation progress
This commit is contained in:
parent
d153daac3c
commit
9321f14ba3
3 changed files with 8 additions and 3 deletions
|
@ -44,7 +44,7 @@ else{
|
|||
$digits = str_split(str_pad($current, 3, "0", STR_PAD_LEFT))
|
||||
|
||||
?>
|
||||
<aside class="donation counter">
|
||||
<aside class="donation counter closable">
|
||||
<? if($autoHide){ ?>
|
||||
<form action="/settings" method="post">
|
||||
<input type="hidden" name="hide-donation-alert" value="1" />
|
||||
|
|
|
@ -25,7 +25,7 @@ if($stretchTarget > 0 && $current >= $target){
|
|||
}
|
||||
|
||||
?>
|
||||
<aside class="donation">
|
||||
<aside class="donation closable">
|
||||
<? if($autoHide){ ?>
|
||||
<form action="/settings" method="post">
|
||||
<input type="hidden" name="hide-donation-alert" value="1" />
|
||||
|
@ -43,7 +43,7 @@ if($stretchTarget > 0 && $current >= $target){
|
|||
<? } ?>
|
||||
<div class="progress">
|
||||
<div aria-hidden="true">
|
||||
<p class="start"></p>
|
||||
<p class="start">0</p>
|
||||
<p><?= number_format($totalCurrent) ?>/<?= number_format($totalTarget) ?></p>
|
||||
<? if($stretchOn){ ?>
|
||||
<p class="stretch-base"><?= number_format($target) ?></p>
|
||||
|
|
|
@ -2244,6 +2244,11 @@ aside.donation::after{
|
|||
background: #dda82a;
|
||||
}
|
||||
|
||||
aside.donation.closable::before,
|
||||
aside.donation.closable::after{
|
||||
display: none;
|
||||
}
|
||||
|
||||
article.ebook section aside.donation p::before,
|
||||
article.ebook section aside.donation p::after{
|
||||
display: none;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue