diff options
author | 2018-05-01 11:36:13 +0100 | |
---|---|---|
committer | 2018-05-01 11:36:13 +0100 | |
commit | d5be0951fb8f332ad9dc27caf25e64ac255eedc8 (patch) | |
tree | 5b6b1c87dfc64da7783b04c68ac184dc158934a0 /pysite/rst/roles.py | |
parent | [Wiki] Fix image spacing (diff) | |
parent | restructure docker (diff) |
Merge remote-tracking branch 'origin/master'
# Conflicts:
# static/style.css
Diffstat (limited to 'pysite/rst/roles.py')
-rw-r--r-- | pysite/rst/roles.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pysite/rst/roles.py b/pysite/rst/roles.py index acba31e4..abade243 100644 --- a/pysite/rst/roles.py +++ b/pysite/rst/roles.py @@ -1,4 +1,3 @@ -# coding=utf-8 from docutils import nodes from docutils.parsers.rst.roles import set_classes from docutils.parsers.rst.states import Inliner @@ -41,7 +40,7 @@ def icon_role(_role: str, rawtext: str, text: str, lineno: int, inliner: Inliner return [prb], [msg] - html = f"""<i class="uk-icon {weight} fa-{parts[1]}"></i>""" + html = f"""<i class="uk-icon fa-fw {weight} fa-{parts[1]}"></i>""" node = nodes.raw(html, html, format="html", **options) return [node], [] |