Commit 48ddee38 authored by tom's avatar tom

fix filters and layout

parent 938a0bca
...@@ -151,7 +151,7 @@ const NameDomains = () => { ...@@ -151,7 +151,7 @@ const NameDomains = () => {
} }
}, [ debouncedSearchTerm, onFilterChange ]); }, [ debouncedSearchTerm, onFilterChange ]);
const hasActiveFilters = Boolean(searchTerm); const hasActiveFilters = Boolean(debouncedSearchTerm) || filterValue.length > 0;
const content = ( const content = (
<> <>
......
...@@ -7,7 +7,7 @@ interface Props { ...@@ -7,7 +7,7 @@ interface Props {
const MainArea = ({ children }: Props) => { const MainArea = ({ children }: Props) => {
return ( return (
<Flex w="100%" minH="100vh" alignItems="stretch"> <Flex w="100%" minH="calc(100vh - 36px)" alignItems="stretch">
{ children } { children }
</Flex> </Flex>
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment