Merge pull request #35709 from sokumon/desktop-fixes

This commit is contained in:
Soham Kulkarni 2026-01-07 01:39:24 +05:30 committed by GitHub
commit 1bbf13bc05
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 2 deletions

View file

@ -595,8 +595,13 @@ class DesktopIconGrid {
this.icons_html.push(icon_html);
grid.append(icon_html);
});
this.setup_tooltip();
}
setup_tooltip() {
$('[data-toggle="tooltip"]').tooltip({
placement: "bottom",
});
}
setup_reordering(grid) {
const me = this;
this.hoverTarget = null;

View file

@ -16,7 +16,7 @@
{% } %}
{% if (!in_folder) { %}
<div class="icon-caption">
<div class="icon-title">{{ __(icon.label) }}</div>
<div class="icon-title" data-toggle="tooltip" data-original-title="{{ __(icon.label) }}">{{ __(icon.label) }}</div>
<div class="icon-subtitle"></div>
</div>
{% } %}