Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
fether
Commits
bb9449cd
Unverified
Commit
bb9449cd
authored
Jul 03, 2018
by
Amaury Martiny
Committed by
GitHub
Jul 03, 2018
Browse files
Merge pull request #123 from paritytech/Tbaut-patch-address-readability
Address readability
parents
a44ec62d
5df870c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
packages/fether-react/src/assets/sass/components/_account.scss
View file @
bb9449cd
...
...
@@ -3,7 +3,7 @@
&
.-header
{
.account_address
{
font-size
:
0
.
6
rem
;
font-size
:
0
.
7
rem
;
}
}
...
...
packages/fether-ui/src/AddressShort/AddressShort.js
View file @
bb9449cd
...
...
@@ -8,7 +8,7 @@ import PropTypes from 'prop-types';
const
AddressShort
=
({
address
,
as
:
T
=
'
span
'
,
...
otherProps
})
=>
(
<
T
{...
otherProps
}
>
{
address
.
slice
(
0
,
4
)}..{
address
.
slice
(
-
4
)}
{
address
.
slice
(
0
,
6
)}..{
address
.
slice
(
-
4
)}
<
/T
>
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment