mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-22 15:15:12 +08:00
fix(gh-sidebar): Don’t customize <h2> styling
This commit is contained in:
parent
45dc4a08be
commit
403d2096b8
2 changed files with 2 additions and 10 deletions
|
@ -36,13 +36,4 @@
|
||||||
margin-left:@spacing-standard;
|
margin-left:@spacing-standard;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
|
||||||
font-size: 11px;
|
|
||||||
font-weight: @font-weight-semi-bold;
|
|
||||||
text-transform: uppercase;
|
|
||||||
color: @text-color-very-subtle;
|
|
||||||
border-bottom: 1px solid @border-color-divider;
|
|
||||||
margin: 2em 0 1em 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -157,7 +157,8 @@ class InjectedComponent extends React.Component
|
||||||
else
|
else
|
||||||
target = ReactDOM.findDOMNode(@)
|
target = ReactDOM.findDOMNode(@)
|
||||||
|
|
||||||
target[method].bind(target)(args...)
|
if target[method]
|
||||||
|
target[method].bind(target)(args...)
|
||||||
|
|
||||||
_setRequiredMethods: (methods) =>
|
_setRequiredMethods: (methods) =>
|
||||||
methods.forEach (method) =>
|
methods.forEach (method) =>
|
||||||
|
|
Loading…
Reference in a new issue