diff --git a/src/public/app/widgets/button_widget.js b/src/public/app/widgets/button_widget.js index 6c567cc37..83ac19f41 100644 --- a/src/public/app/widgets/button_widget.js +++ b/src/public/app/widgets/button_widget.js @@ -2,6 +2,8 @@ import BasicWidget from "./basic_widget.js"; const TPL = ` @@ -20,6 +22,11 @@ export default class ButtonWidget extends BasicWidget { this.$widget.on("click", () => this.triggerCommand(this.settings.command)); + this.$widget.tooltip({ + html: true, + title: () => this.settings.title + }); + super.doRender(); } diff --git a/src/public/app/widgets/sync_status.js b/src/public/app/widgets/sync_status.js index a0313b95c..feaa6cbd9 100644 --- a/src/public/app/widgets/sync_status.js +++ b/src/public/app/widgets/sync_status.js @@ -42,28 +42,34 @@ const TPL = `
diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css index 9572534b4..5bafbcf3c 100644 --- a/src/public/stylesheets/style.css +++ b/src/public/stylesheets/style.css @@ -848,7 +848,7 @@ body { background-color: inherit; } -[data-toggle="tooltip"] span { +[data-toggle="tooltip"]:not(.button-widget) span { padding-bottom: 0; border-bottom: 1px dotted; }