Skip to content
This repository was archived by the owner on Jan 22, 2018. It is now read-only.

Commit a300aa7

Browse files
authored
Fix UI glicthes, align styles (#17)
1 parent a228236 commit a300aa7

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

src/Form/Input/input.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,13 @@
2525
}
2626

2727
.input {
28+
opacity: 1 !important;
29+
position: relative;
30+
31+
input[disabled],
2832
input[readonly] {
33+
border-color: transparent !important;
2934
cursor: text;
35+
opacity: 0.5;
3036
}
3137
}

src/Form/InputAddress/inputAddress.css

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
[data-address-img] {
2323
position: absolute;
24-
top: -7px;
24+
bottom: 0;
2525
left: 8px;
2626
}
2727
}
@@ -52,11 +52,7 @@
5252
.icon,
5353
.iconDisabled {
5454
position: absolute;
55-
top: 33px;
56-
57-
&.noLabel {
58-
top: 10px;
59-
}
55+
bottom: 4px;
6056

6157
&.noCopy {
6258
left: 5px;

src/Form/InputAddress/inputAddress.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,8 @@ class InputAddress extends Component {
7171
? 'null'
7272
: null;
7373

74-
// FIXME: The is not advisable, fixes the display issue, however the name should come from
75-
// a common component.
76-
// account.name || (value ? 'UNNAMED' : value)
7774
const displayValue = text && account
78-
? (account.name || (value ? 'UNNAMED' : value))
75+
? (account.name || value)
7976
: (nullName || value);
8077

8178
if (small) {

0 commit comments

Comments
 (0)