diff options
author | Jessica Stokes <hello@jessicastokes.net> | 2017-01-04 20:24:27 -0800 |
---|---|---|
committer | Jessica Stokes <hello@jessicastokes.net> | 2017-01-04 20:24:27 -0800 |
commit | 1f3c895ffb320c188b77b0036603b40a22733902 (patch) | |
tree | ae3f3234d9bd0f2763c7bd0c144e0cd95f3a9fcb /app/assets/javascripts/components | |
parent | 9bb1b97d2a31477ce3da83fb204dd5702323c1bb (diff) |
Use system fonts on more platforms
This allows other platforms such as Windows, macOS and iOS to use their system fonts rather than downloading a copy of Roboto. It also makes the app feel a little closer to native on those platforms!
Diffstat (limited to 'app/assets/javascripts/components')
-rw-r--r-- | app/assets/javascripts/components/components/button.jsx | 2 | ||||
-rw-r--r-- | app/assets/javascripts/components/features/compose/components/search.jsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/components/components/button.jsx b/app/assets/javascripts/components/components/button.jsx index d63129013..19c52550a 100644 --- a/app/assets/javascripts/components/components/button.jsx +++ b/app/assets/javascripts/components/components/button.jsx @@ -27,7 +27,7 @@ const Button = React.createClass({ render () { const style = { - fontFamily: 'Roboto', + fontFamily: 'inherit', display: this.props.block ? 'block' : 'inline-block', width: this.props.block ? '100%' : 'auto', position: 'relative', diff --git a/app/assets/javascripts/components/features/compose/components/search.jsx b/app/assets/javascripts/components/features/compose/components/search.jsx index b4e618820..e4672216b 100644 --- a/app/assets/javascripts/components/features/compose/components/search.jsx +++ b/app/assets/javascripts/components/features/compose/components/search.jsx @@ -38,7 +38,7 @@ const inputStyle = { border: 'none', padding: '10px', paddingRight: '30px', - fontFamily: 'Roboto', + fontFamily: 'inherit', background: '#282c37', color: '#9baec8', fontSize: '14px', |