Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unnecessary scroll in Vulnerability inventory #6345

Merged
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ All notable changes to the Wazuh app project will be documented in this file.
- Fixed script to install agents on macOS when you have password to deploy [#6305](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6305)
- Fixed a problem with the address validation on Deploy New Agent [#6327](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6327)
- Fixed a typo in an abbreviation for Fully Qualified Domain Name [#6333](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6333)
- Fixed unnecessary scrolling in Vulnerability Inventory table [#6345](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6345)
- Fixed the inventory data table when maximized and the docked menu [#6344](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6344)

### Removed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
.vulsInventoryContainer {
height: calc(100vh - 104px);
}

height: calc(100vh - 104px);

.headerIsExpanded .vulsInventoryContainer {
height: calc(100vh - 153px);
}
// This makes the table not generate an unnecessary scroll when filtering data from 1 page and then do another search for more pages.
.euiDataGrid__virtualized {
yenienserrano marked this conversation as resolved.
Show resolved Hide resolved
height: calc(100vh - 345px) !important;
}

.vulsInventoryContainer .euiDataGrid--fullScreen {
.euiDataGrid--fullScreen {
height: calc(100vh - 49px);
bottom: 0;
top: auto;
}
}

.headerIsExpanded .vulsInventoryContainer {
height: calc(100vh - 153px);
}
Loading