F: Improve typography
This commit is contained in:
parent
9b6a014fb3
commit
1ee3e9ef4f
|
@ -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
|
||||
|
|
|
@ -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 (
|
||||
<>
|
||||
|
|
|
@ -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' />}
|
||||
/>
|
||||
|
|
Loading…
Reference in New Issue
Block a user