Skip to content

Commit 3417445

Browse files
committed
fix(neuron-ui): fix typo in class name
rename .text-overflow to .textOverflow
1 parent 4803492 commit 3417445

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

packages/neuron-ui/src/components/Addresses/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const Addresses = ({
7373
onRender: (item?: State.Address) => {
7474
if (item) {
7575
return (
76-
<span className="text-overflow" title={item.address}>
76+
<span className="textOverflow" title={item.address}>
7777
{item.address}
7878
</span>
7979
)
@@ -130,7 +130,7 @@ const Addresses = ({
130130
onRender: (item?: State.Address) => {
131131
if (item) {
132132
return (
133-
<span title={`${item.balance} shannon`} className="text-overflow">
133+
<span title={`${item.balance} shannon`} className="textOverflow">
134134
{`${shannonToCKBFormatter(item.balance)} CKB`}
135135
</span>
136136
)

packages/neuron-ui/src/components/TransactionList/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ const TransactionList = ({
117117
return '-'
118118
}
119119
return (
120-
<span className="text-overflow monospacedFont" title={item.hash}>
120+
<span className="textOverflow monospacedFont" title={item.hash}>
121121
{`${item.hash.slice(0, 8)}...${item.hash.slice(-6)}`}
122122
</span>
123123
)
@@ -140,7 +140,7 @@ const TransactionList = ({
140140
}
141141
const confirmations = localNumberFormatter(confirmationCount)
142142
return (
143-
<span title={`${confirmations}`} className="text-overflow">
143+
<span title={`${confirmations}`} className="textOverflow">
144144
{confirmations}
145145
</span>
146146
)
@@ -213,7 +213,7 @@ const TransactionList = ({
213213
onRender: (item?: FormatTransaction) => {
214214
if (item) {
215215
return (
216-
<span title={`${item.value} shannon`} className="text-overflow">
216+
<span title={`${item.value} shannon`} className="textOverflow">
217217
{`${shannonToCKBFormatter(item.value, true)} CKB`}
218218
</span>
219219
)

packages/neuron-ui/src/styles/index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ navbar {
8282
}
8383
}
8484

85-
.text-overflow {
85+
.textOverflow {
8686
overflow: hidden;
8787
text-overflow: ellipsis;
8888
}

0 commit comments

Comments
 (0)