diff --git a/modules/search-layout/sidebar.jsx b/modules/search-layout/sidebar.jsx index 53341e7d..b2ce23a5 100644 --- a/modules/search-layout/sidebar.jsx +++ b/modules/search-layout/sidebar.jsx @@ -4,10 +4,7 @@ import { classNames } from '@oacore/design/lib/utils' import styles from './styles.module.css' const Sidebar = ({ children, className, ...restProps }) => ( -
+
{children}
) diff --git a/pages/data-providers/index.jsx b/pages/data-providers/index.jsx index e4f7131c..99c28cab 100644 --- a/pages/data-providers/index.jsx +++ b/pages/data-providers/index.jsx @@ -65,9 +65,9 @@ const SearchPage = observe(({ initialState }) => { ) const setQuery = useCallback( (q) => { - dataProviders.params.query = q + dataProviders.params.q = q }, - [dataProviders.params.query] + [dataProviders.params.q] ) const handleUrlChange = useCallback( (event) => { diff --git a/templates/data-provider/styles.module.css b/templates/data-provider/styles.module.css index 86533922..3beaf300 100644 --- a/templates/data-provider/styles.module.css +++ b/templates/data-provider/styles.module.css @@ -41,10 +41,13 @@ margin-right: 0.5rem; } +.card { + min-width: unset; +} + .card .map { width: auto; - margin: calc(-1 * var(--card-padding-y)) calc(-1 * var(--card-padding-x)) - var(--card-padding-x) calc(-1 * var(--card-padding-x)); + margin: -1rem -1rem 1rem; } .no-results-find {