Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkp committed Apr 3, 2016
1 parent 3df44ef commit 54ac712
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/components/console/console.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

.sidebar-control {

background: #ddd;
background: #eee;
padding: 1rem 1rem;
text-align: right;
z-index: 2;
Expand All @@ -19,7 +19,7 @@
}

.commands {
background: #eee;
background: #fafafa;
font-family: "Menlo", "Lucida Console", monospace;
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/response/Response.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default ({response, ok, meaning}) => {
return (
<div className={'response ' + (ok?'ok':'error')} title={`Response APDU`}>
{response}
{ok?<Tlv data={response} />:
{ok?<div className="tlv-wrapper"><Tlv data={response} /></div>:
<span className="meaning">{meaning}</span>
}
</div>
Expand Down
4 changes: 4 additions & 0 deletions src/components/response/response.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
color: $alizarin;
}

.tlv-wrapper {
margin-left: -2rem;
}

.meaning {
margin-left: 1rem;
color: #333;
Expand Down
5 changes: 1 addition & 4 deletions src/components/tlv/tlv.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@
}

.tlv {
margin-left: .5rem;
&:first-child {
margin-left: 0;
}
margin-left: 2rem;
}

.tag {
Expand Down

0 comments on commit 54ac712

Please sign in to comment.