mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-09 14:16:02 +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 {
|
.primary-item {
|
||||||
padding-top: @padding-large-vertical;
|
padding-top: @padding-large-vertical;
|
||||||
padding-bottom: @padding-base-vertical;
|
padding-bottom: @padding-base-vertical;
|
||||||
|
padding-left: 10px;
|
||||||
|
.name {
|
||||||
|
padding-left: 7px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.name {
|
.name {
|
||||||
|
|
|
@ -353,6 +353,7 @@
|
||||||
.message-header-right {
|
.message-header-right {
|
||||||
z-index: 4;
|
z-index: 4;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
top: -5px;
|
||||||
float: right;
|
float: right;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -370,7 +371,7 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border: 0;
|
border: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin-top: 20px;
|
margin-top: 5px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -76,6 +76,12 @@ class AccountStore
|
||||||
@trigger()
|
@trigger()
|
||||||
|
|
||||||
addAccountFromJSON: (json) =>
|
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]
|
return if @_tokens[json.id]
|
||||||
@_tokens[json.id] = json.auth_token
|
@_tokens[json.id] = json.auth_token
|
||||||
@_accounts.push((new Account).fromJSON(json))
|
@_accounts.push((new Account).fromJSON(json))
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
padding: 6px 10px;
|
padding: 6px 10px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-size: @font-size-smaller;
|
font-size: @font-size-smaller;
|
||||||
|
margin: 5px 0 3px 0;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
Loading…
Add table
Reference in a new issue