mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-08 21:55:54 +08:00
fix(styles): padding fixes
This commit is contained in:
parent
5fdfac6161
commit
658a267f9d
4 changed files with 13 additions and 1 deletions
|
@ -85,6 +85,10 @@
|
|||
.primary-item {
|
||||
padding-top: @padding-large-vertical;
|
||||
padding-bottom: @padding-base-vertical;
|
||||
padding-left: 10px;
|
||||
.name {
|
||||
padding-left: 7px;
|
||||
}
|
||||
}
|
||||
|
||||
.name {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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))
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
padding: 6px 10px;
|
||||
font-weight: 600;
|
||||
font-size: @font-size-smaller;
|
||||
margin: 5px 0 3px 0;
|
||||
|
||||
&:hover {
|
||||
cursor: pointer;
|
||||
|
|
Loading…
Add table
Reference in a new issue