Show sats instead of BTC on donation page, refactor CSS
* Show sats instead of BTC on donation page * Use number delimiters on both donation page and wallet page * Refactor donation page CSS into Tailwind directives
This commit is contained in:
@@ -6,9 +6,9 @@
|
||||
</p>
|
||||
</div>
|
||||
<div class="md:col-span-4 mt-4 md:mt-0">
|
||||
<p class="font-mono md:text-right p-4 bg-gray-100 shadow rounded-lg overflow-hidden">
|
||||
<p class="font-mono md:text-right mb-0 p-4 border border-gray-300 rounded-lg overflow-hidden">
|
||||
<% if @balance %>
|
||||
<span class="text-xl"><%= @balance %> sats</span><br>
|
||||
<span class="text-xl"><%= number_with_delimiter @balance %> sats</span><br>
|
||||
<span class="text-sm text-gray-500">Available balance</span>
|
||||
<% else %>
|
||||
<span class="text-xl">n/a sats</span><br>
|
||||
|
||||
Reference in New Issue
Block a user