Skip to content

Commit 228eb7b

Browse files
committed
set menu theme
1 parent 4a92356 commit 228eb7b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

web_src/css/modules/tippy.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
.tippy-content {
3939
position: relative;
40-
padding: 0;
40+
padding: 1rem; /* if you need different padding, set data-theme=menu */
4141
z-index: 1;
4242
}
4343

web_src/js/features/repo-commit.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ export function initCommitStatuses() {
6666
placement: top ? 'top-start' : 'bottom-start',
6767
interactive: true,
6868
role: 'dialog',
69+
theme: 'menu',
6970
});
7071
});
7172
}

0 commit comments

Comments
 (0)