Minor fixes

This commit is contained in:
IRBorisov 2023-11-24 19:47:03 +03:00
parent 56d8245747
commit e0dd8b7e24
3 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@ function Root() {
const { noNavigation, noFooter, viewportHeight, mainHeight, showScroll } = useConceptTheme(); const { noNavigation, noFooter, viewportHeight, mainHeight, showScroll } = useConceptTheme();
return ( return (
<NavigationState> <NavigationState>
<div className='w-screen antialiased clr-app min-w-[30rem]'> <div className='w-screen antialiased clr-app min-w-[30rem] overflow-hidden'>
<ConceptToaster <ConceptToaster
className='mt-[4rem] text-sm' className='mt-[4rem] text-sm'
@ -32,7 +32,7 @@ function Root() {
<Navigation /> <Navigation />
<div id={globalIDs.main_scroll} <div id={globalIDs.main_scroll}
className='w-full overflow-x-auto' className='w-full overflow-x-auto overscroll-none'
style={{ style={{
maxHeight: viewportHeight, maxHeight: viewportHeight,
overflowY: showScroll ? 'scroll': 'auto' overflowY: showScroll ? 'scroll': 'auto'

View File

@ -22,7 +22,7 @@ function HomePage() {
return ( return (
<div className='flex flex-col items-center justify-center w-full px-4 py-2'> <div className='flex flex-col items-center justify-center w-full px-4 py-2'>
<p>Лендинг находится в разработке. Данная страница видна только пользователям с правами администратора.</p> { user?.is_staff && <p>Лендинг находится в разработке. Данная страница видна только пользователям с правами администратора.</p> }
</div> </div>
); );
} }

View File

@ -258,7 +258,7 @@ function ViewSideConstituents({ expression, baseHeight, activeID, onOpenEdit }:
</div> </div>
</div> </div>
</div> </div>
<div className='overflow-y-auto text-sm' style={{maxHeight : `${maxHeight}`}}> <div className='overflow-y-auto text-sm overscroll-none' style={{maxHeight : `${maxHeight}`}}>
<DataTable <DataTable
data={filteredData} data={filteredData}
columns={columns} columns={columns}