style(next)/floating buttons/show table of contents: fix the rounded corners being placed on the wrong side

This commit is contained in:
Adorian Doran 2025-03-24 18:42:08 +02:00
parent 7a2eb81a81
commit 2e15c926c5
2 changed files with 8 additions and 1 deletions

View File

@ -13,7 +13,7 @@ export default class ShowTocWidgetButton extends OnClickButtonWidget {
constructor() { constructor() {
super(); super();
this.icon("bx-spreadsheet bx-rotate-180") this.icon("bx-tn-toc")
.title(t("show_toc_widget_button.show_toc")) .title(t("show_toc_widget_button.show_toc"))
.titlePlacement("bottom") .titlePlacement("bottom")
.onClick(() => { .onClick(() => {

View File

@ -1796,4 +1796,11 @@ footer.file-footer button {
.content-floating-buttons button.bx { .content-floating-buttons button.bx {
font-size: 130%; font-size: 130%;
padding: 1px 10px 1px 10px; padding: 1px 10px 1px 10px;
}
/* Customized icons */
.bx-tn-toc::before {
content: "\ec24";
transform: rotate(180deg);
} }