mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 13:00:39 +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();
|
||||
return (
|
||||
<NavigationState>
|
||||
<div className='w-screen antialiased clr-app min-w-[30rem]'>
|
||||
<div className='w-screen antialiased clr-app min-w-[30rem] overflow-hidden'>
|
||||
|
||||
<ConceptToaster
|
||||
className='mt-[4rem] text-sm'
|
||||
|
@ -32,7 +32,7 @@ function Root() {
|
|||
|
||||
<Navigation />
|
||||
<div id={globalIDs.main_scroll}
|
||||
className='w-full overflow-x-auto'
|
||||
className='w-full overflow-x-auto overscroll-none'
|
||||
style={{
|
||||
maxHeight: viewportHeight,
|
||||
overflowY: showScroll ? 'scroll': 'auto'
|
||||
|
|
|
@ -22,7 +22,7 @@ function HomePage() {
|
|||
|
||||
return (
|
||||
<div className='flex flex-col items-center justify-center w-full px-4 py-2'>
|
||||
<p>Лендинг находится в разработке. Данная страница видна только пользователям с правами администратора.</p>
|
||||
{ user?.is_staff && <p>Лендинг находится в разработке. Данная страница видна только пользователям с правами администратора.</p> }
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -258,7 +258,7 @@ function ViewSideConstituents({ expression, baseHeight, activeID, onOpenEdit }:
|
|||
</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
|
||||
data={filteredData}
|
||||
columns={columns}
|
||||
|
|
Loading…
Reference in New Issue
Block a user