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