Use sats / ccs format in item details (#1805)
* Use sats / ccs format in item details * Use row-gap and line-height
This commit is contained in:
parent
c74107269d
commit
b37a12bf71
|
@ -252,20 +252,14 @@ function InfoDropdownItem ({ item }) {
|
||||||
<div>{item.createdAt}</div>
|
<div>{item.createdAt}</div>
|
||||||
<div>cost</div>
|
<div>cost</div>
|
||||||
<div>{item.cost}</div>
|
<div>{item.cost}</div>
|
||||||
<div>sats</div>
|
<div>stacked</div>
|
||||||
<div>{item.sats - item.credits}</div>
|
<div>{item.sats - item.credits} sats / {item.credits} ccs</div>
|
||||||
<div>CCs</div>
|
<div>stacked (comments)</div>
|
||||||
<div>{item.credits}</div>
|
<div>{item.commentSats - item.commentCredits} sats / {item.commentCredits} ccs</div>
|
||||||
<div>comment sats</div>
|
|
||||||
<div>{item.commentSats - item.commentCredits}</div>
|
|
||||||
<div>comment CCs</div>
|
|
||||||
<div>{item.commentCredits}</div>
|
|
||||||
{me && (
|
{me && (
|
||||||
<>
|
<>
|
||||||
<div>sats from me</div>
|
<div>from me</div>
|
||||||
<div>{item.meSats - item.meCredits}</div>
|
<div>{item.meSats - item.meCredits} sats / {item.meCredits} ccs</div>
|
||||||
<div>CCs from me</div>
|
|
||||||
<div>{item.meCredits}</div>
|
|
||||||
<div>downsats from me</div>
|
<div>downsats from me</div>
|
||||||
<div>{item.meDontLikeSats}</div>
|
<div>{item.meDontLikeSats}</div>
|
||||||
</>
|
</>
|
||||||
|
|
|
@ -164,6 +164,8 @@ a.link:visited {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: auto auto;
|
grid-template-columns: auto auto;
|
||||||
column-gap: 1rem;
|
column-gap: 1rem;
|
||||||
|
line-height: 1.25;
|
||||||
|
row-gap: 0.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* .itemJob .hunk {
|
/* .itemJob .hunk {
|
||||||
|
|
Loading…
Reference in New Issue