mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-19 10:12:47 +08:00
Automatic Merge
This commit is contained in:
+1
@@ -25,6 +25,7 @@ const MONACO_EDITOR_OPTIONS: monaco.editor.IStandaloneEditorConstructionOptions
|
||||
extraEditorClassName: 'policyEditor',
|
||||
language: POLICY_LANGUAGE,
|
||||
automaticLayout: true,
|
||||
fixedOverflowWidgets: true,
|
||||
minimap: {enabled: false},
|
||||
lineNumbers: 'off',
|
||||
scrollBeyondLastLine: false,
|
||||
|
||||
@@ -16,6 +16,7 @@ import {
|
||||
useTransitionStyles,
|
||||
FloatingArrow,
|
||||
flip,
|
||||
shift,
|
||||
useMergeRefs,
|
||||
} from '@floating-ui/react';
|
||||
import classNames from 'classnames';
|
||||
@@ -126,6 +127,7 @@ export function WithTooltip({
|
||||
flip({
|
||||
fallbackPlacements: placements.fallback,
|
||||
}),
|
||||
shift({padding: OverlayArrow.OFFSET}),
|
||||
arrow({
|
||||
element: arrowRef,
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user