Skip to content

Commit 4996b72

Browse files
committed
document new theme
1 parent e873cb4 commit 4996b72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/modules/tippy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export function createTippy(target, opts = {}) {
3434
},
3535
arrow: `<svg width="16" height="7"><path d="m0 7 8-7 8 7Z" class="tippy-svg-arrow-outer"/><path d="m0 8 8-7 8 7Z" class="tippy-svg-arrow-inner"/></svg>`,
3636
role: 'menu', // HTML role attribute, only tooltips should use "tooltip"
37-
theme: other.role || 'menu', // CSS theme, we support either "tooltip" or "menu"
37+
theme: other.role || 'menu', // CSS theme, either "tooltip", "menu" or "box-with-header"
3838
plugins: [followCursor],
3939
...other,
4040
});

0 commit comments

Comments
 (0)