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:
@@ -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)' });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user