From 19ee942ea0d654900c47a4cd20d9cb149bf26af7 Mon Sep 17 00:00:00 2001 From: igoradamenko Date: Sat, 24 Feb 2018 21:30:24 +0200 Subject: [PATCH] use sans instead of serif --- web/TODO.md | 1 - web/app/components/root/index.js | 2 ++ web/app/components/root/root.scss | 3 +++ web/app/components/thread/thread.scss | 1 - 4 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 web/app/components/root/root.scss 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; }