mirror of
https://github.com/docmost/docmost.git
synced 2026-07-07 11:04:33 +10:00
fix: tooltip on focus
This commit is contained in:
@@ -4,6 +4,7 @@ import {
|
||||
CSSVariablesResolver,
|
||||
MantineColorsTuple,
|
||||
Tabs,
|
||||
Tooltip,
|
||||
v8CssVariablesResolver,
|
||||
} from "@mantine/core";
|
||||
|
||||
@@ -40,6 +41,11 @@ export const theme = createTheme({
|
||||
},
|
||||
defaultRadius: 'sm',
|
||||
components: {
|
||||
Tooltip: Tooltip.extend({
|
||||
defaultProps: {
|
||||
events: { hover: true, focus: true, touch: false },
|
||||
},
|
||||
}),
|
||||
// Size badges to their content; fit-content collapses inside table cells.
|
||||
Badge: Badge.extend({
|
||||
styles: (_theme, props) => ({
|
||||
|
||||
Reference in New Issue
Block a user