fix(styles): padding fixes

This commit is contained in:
Evan Morikawa 2015-10-05 00:38:48 -07:00
parent 5fdfac6161
commit 658a267f9d
4 changed files with 13 additions and 1 deletions

View file

@ -85,6 +85,10 @@
.primary-item {
padding-top: @padding-large-vertical;
padding-bottom: @padding-base-vertical;
padding-left: 10px;
.name {
padding-left: 7px;
}
}
.name {

View file

@ -353,6 +353,7 @@
.message-header-right {
z-index: 4;
position: relative;
top: -5px;
float: right;
text-align: right;
display: flex;
@ -370,7 +371,7 @@
width: 100%;
border: 0;
padding: 0;
margin-top: 20px;
margin-top: 5px;
overflow: auto;
}
}

View file

@ -76,6 +76,12 @@ class AccountStore
@trigger()
addAccountFromJSON: (json) =>
if not json.email_address or not json.provider
console.error("Returned account data is invalid", json)
atom.emitError
msg: "Returned account data is invalid"
json: json
return
return if @_tokens[json.id]
@_tokens[json.id] = json.auth_token
@_accounts.push((new Account).fromJSON(json))

View file

@ -9,6 +9,7 @@
padding: 6px 10px;
font-weight: 600;
font-size: @font-size-smaller;
margin: 5px 0 3px 0;
&:hover {
cursor: pointer;