Skip to content

Commit

Permalink
adds ellipsis to handle text running over multiple lines in owned coi…
Browse files Browse the repository at this point in the history
  • Loading branch information
apburnie authored Sep 23, 2022
1 parent 48ff7c9 commit 1b871dd
Showing 2 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
.oneline,
.oneline div {
@apply truncate min-w-0;
}

.cointype {
@apply pr-[15px];
}

.groupview {
@apply text-left;
}
Original file line number Diff line number Diff line change
@@ -41,7 +41,9 @@ function SingleCoinView({
<div className={isOpen ? styles.openicon : styles.closedicon}>
<ContentIcon />
</div>
<div>{handleCoinType(coinLabel)}</div>
<div className={`${styles.oneline} ${styles.cointype}`}>
{handleCoinType(coinLabel)}
</div>
<div>{subObjList.length}</div>
<div>
{subObjList[0]._isCoin &&
@@ -61,7 +63,7 @@ function SingleCoinView({
<div className={styles.objectid}>
<div />
<div>Object ID</div>
<div>
<div className={styles.oneline}>
<Longtext
text={subObj.id}
category="objects"

0 comments on commit 1b871dd

Please sign in to comment.