Skip to content

Commit a4b8e8a

Browse files
authored
feat: increase tooltip width (#1313)
refactor: increase tooltip width
1 parent cf7cd50 commit a4b8e8a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/components/fields/Tooltip.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const Tooltip: FC<ITooltip> = (props: ITooltip) => {
1919
>
2020
<QuestionIcon className="ml-1 text-blue-500" />
2121
{showTooltip && (
22-
<div className="absolute z-10 rounded border border-gray-300 bg-white p-2 shadow dark:bg-gray-sidebar">
22+
<div className="absolute z-10 w-60 rounded border border-gray-300 bg-white p-2 shadow dark:bg-gray-sidebar">
2323
<div className="text-left text-xs text-gray-700 dark:text-white">
2424
{props.tooltip}
2525
</div>

src/components/fields/__snapshots__/Tooltip.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/routes/Settings.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ export const SettingsRoute: FC = () => {
244244
}
245245
tooltip={
246246
<div>
247-
When enabled you can choose to use the hotkeys{' '}
247+
When enabled you can use the hotkeys{' '}
248248
<span className="text-orange-600">
249249
{Constants.DEFAULT_KEYBOARD_SHORTCUT}
250250
</span>{' '}

0 commit comments

Comments
 (0)