diff --git a/web/TODO.md b/web/TODO.md index 9ff33368..27c0714c 100644 --- a/web/TODO.md +++ b/web/TODO.md @@ -10,7 +10,6 @@ major features: - add time format 'X hours ago' - use static buttons 'reply', 'pin', etc instead of dynamic - maybe we should change layout: vote buttons | avatar | info; info: (top: name, points, time), (center: text), (bottom: controls) - - fix serif font in pinned comments and in auth panel - edit comment - `PUT /api/v1/comment/{id}?site=site-id&url=post-url` - add description of web part to readme diff --git a/web/app/components/root/index.js b/web/app/components/root/index.js index f0890211..387778d4 100644 --- a/web/app/components/root/index.js +++ b/web/app/components/root/index.js @@ -1,5 +1,7 @@ export { default } from './root'; +require('./root.scss'); + require('./__auth-panel/root__auth-panel.scss'); require('./__input/root__input.scss'); require('./__pinned-comment/root__pinned-comment.scss'); diff --git a/web/app/components/root/root.scss b/web/app/components/root/root.scss new file mode 100644 index 00000000..f5122fac --- /dev/null +++ b/web/app/components/root/root.scss @@ -0,0 +1,3 @@ +.root { + font-family: 'PT Sans', Helvetica, Arial, sans-serif; +} diff --git a/web/app/components/thread/thread.scss b/web/app/components/thread/thread.scss index f9cb577d..59307364 100644 --- a/web/app/components/thread/thread.scss +++ b/web/app/components/thread/thread.scss @@ -2,5 +2,4 @@ .thread { margin-bottom: $offset; - font-family: 'PT Sans', Helvetica, Arial, sans-serif; }