Skip to content

Commit 94b8091

Browse files
committed
Standardize icon classes
1 parent d23d013 commit 94b8091

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/sphinx_book_theme/header_buttons/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ def add_header_buttons(app, pagename, templatename, context, doctree):
117117
"tooltip": translation("Fullscreen mode"),
118118
"icon": "fas fa-expand",
119119
"label": "fullscreen-button",
120+
"classes": "pst-navbar-icon",
120121
}
121122
)
122123

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{# The in-page Table of Contents -#}
22
{% set page_toc = generate_toc_html() -%}
33
{% if page_toc -%}
4-
<button class="sidebar-toggle secondary-toggle btn btn-sm" title="Toggle secondary sidebar" data-bs-placement="bottom" data-bs-toggle="tooltip">
4+
<button class="sidebar-toggle secondary-toggle btn btn-sm pst-navbar-icon" title="Toggle secondary sidebar" data-bs-placement="bottom" data-bs-toggle="tooltip">
55
<span class="fa-solid fa-list"></span>
66
</button>
77
{%- endif %}

0 commit comments

Comments
 (0)