diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c95580692..e327d5cc21 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to the Wazuh app project will be documented in this file. ## Wazuh v4.10.0 - OpenSearch Dashboards 2.16.0 - Revision 01 +## Fixed + +- Fixed the filter are displayed cropped on screens of 575px to 767px in vulnerability detection module [#7047](https://github.com/wazuh/wazuh-dashboard-plugins/pull/7047) + ### Added - Support for Wazuh 4.10.0 diff --git a/plugins/main/public/components/common/search-bar/search-bar.tsx b/plugins/main/public/components/common/search-bar/search-bar.tsx index 8c7b57144a..c6cc9a4bf9 100644 --- a/plugins/main/public/components/common/search-bar/search-bar.tsx +++ b/plugins/main/public/components/common/search-bar/search-bar.tsx @@ -6,6 +6,7 @@ import { SearchBarProps, Filter, } from '../../../../../../src/plugins/data/public'; +import '../../../../public/styles/media-queries.scss'; export interface WzSearchBarProps extends SearchBarProps { fixedFilters?: Filter[]; @@ -85,14 +86,14 @@ export const WzSearchBar = ({ )} - + - + .euiFlexItem { + margin-bottom: 0 !important; + } + } + + @media only screen and (min-width: 575px) and (max-width: 767px) { + .globalFilterGroup__wrapper-isVisible { + .euiFlexItem.euiFlexItem--flexGrowZero { + margin-bottom: 0px; + } + } + } + + @media only screen and (min-width: 575px) and (max-width: 767px) { + .euiFlexGroup--responsive { + -webkit-flex-wrap: wrap; + flex-wrap: wrap; + margin-left: 0; + margin-right: 0; + margin-bottom: 6px; + margin-top: 10px; } + } }