Small navigation fix for touch accuracy

This commit is contained in:
IRBorisov 2024-06-07 23:17:49 +03:00
parent 2759f10d09
commit c9edf68264
2 changed files with 2 additions and 1 deletions

View File

@ -47,7 +47,7 @@ function Navigation() {
<div tabIndex={-1} className='flex items-center mr-auto cursor-pointer' onClick={navigateHome}> <div tabIndex={-1} className='flex items-center mr-auto cursor-pointer' onClick={navigateHome}>
<Logo /> <Logo />
</div> </div>
<div className='flex'> <div className='flex gap-1 py-[0.3rem]'>
<NavigationButton <NavigationButton
text='Новая схема' text='Новая схема'
title='Создать новую схему' title='Создать новую схему'

View File

@ -23,6 +23,7 @@ function NavigationButton({ icon, title, titleHtml, hideTitle, onClick, text }:
'mr-1 h-full', // prettier: split lines 'mr-1 h-full', // prettier: split lines
'flex items-center gap-1', 'flex items-center gap-1',
'clr-btn-nav', 'clr-btn-nav',
'rounded-xl',
'font-controls whitespace-nowrap', 'font-controls whitespace-nowrap',
{ {
'px-2': text, 'px-2': text,