Be more specific in styled selectors (#10)

This commit is contained in:
Jaco Greeff
2018-12-07 16:10:59 +01:00
committed by GitHub
parent e3ea906eff
commit 9a893df630
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -22,7 +22,7 @@ const Wrapper = styled.div`
position: relative;
white-space: nowrap;
.address {
> .address {
display: inline-block;
flex: 1;
font-family: monospace;
@@ -33,13 +33,13 @@ const Wrapper = styled.div`
text-overflow: ellipsis;
}
.icon {
> .icon {
position: absolute;
top: -9px;
left: 0;
}
.name {
> .name {
display: inline-block;
flex: 1 0;
margin-left: 3rem;