mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 21:10:38 +03:00
Minor fixes
This commit is contained in:
parent
56d8245747
commit
e0dd8b7e24
|
@ -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'
|
||||||
|
|
|
@ -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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user