style: 1.4 content and style fixes (#170)

* style: add spacing between footer and body content

* fix: TNL-8567 prevent card selection when click on show features

* style: TNL-8569 update page & resources margin for mobile view

* fix: TNL-8571 correct error state for blockout date field

* style: TNL-8569 set page&resources margins in mobile view

* style: TNL-8573 feature list should intersect with column

* style: TNL-8568 update font size and color for feature table

* fix: move formInvalid logic to legacy form and make it centralize
This commit is contained in:
Awais Ansari
2021-08-02 14:24:38 +05:00
committed by GitHub
parent ca5e283159
commit aa3420f870
13 changed files with 97 additions and 60 deletions

View File

@@ -6,5 +6,9 @@ export const executeThunk = async (thunk, dispatch, getState) => {
};
export function useIsMobile() {
return useMediaQuery({ query: '(max-width: 768px)' });
return useMediaQuery({ query: '(max-width: 767.98px)' });
}
export function useIsDesktop() {
return useMediaQuery({ query: '(min-width: 992px)' });
}