F: Improve typography

This commit is contained in:
Ivan 2025-07-02 13:13:15 +03:00
parent 78b1b0332d
commit 0015969fbb
3 changed files with 6 additions and 6 deletions

View File

@ -11,7 +11,7 @@ export const GlobalTooltips = () => {
id={globalIDs.tooltip}
layer='z-topmost'
place='right-start'
className='mt-8 max-w-80 break-words rounded-lg!'
className='mt-8 max-w-80 break-words rounded-lg! select-none'
/>
<Tooltip
float

View File

@ -20,9 +20,9 @@ interface MGraphNodeInternal {
export function MGraphNode(node: MGraphNodeInternal) {
const tooltipText =
`Ступень ${node.data.text}` +
`<span class="font-math">${node.data.text}</span>` +
'<br/>' +
(node.data.annotations.length === 0 ? '' : `Конституенты: ${node.data.annotations.join(' ')}`);
(node.data.annotations.length === 0 ? '' : `<b>Конституенты</b> ${node.data.annotations.join(' ')}`);
return (
<>

View File

@ -23,18 +23,18 @@ export function ToolbarRSExpression({ className, disabled, showTypeGraph, showAS
<div className={cn('cc-icons', className)}>
{!disabled || isProcessing ? (
<MiniButton
title='Отображение специальной клавиатуры'
title='Символьная клавиатура'
icon={<IconShowKeyboard value={showControls} size='1.25rem' className='hover:text-primary' />}
onClick={toggleControls}
/>
) : null}
<MiniButton
title='Граф ступеней типизации'
title='Структура типизации'
icon={<IconTypeGraph size='1.25rem' className='hover:text-primary' />}
onClick={showTypeGraph}
/>
<MiniButton
title='Дерево разбора выражения'
title='Структура выражения'
onClick={showAST}
icon={<IconTree size='1.25rem' className='hover:text-primary' />}
/>