Skip to content

Commit

Permalink
Fix unnecessary scroll in Vulnerability inventory (#6345)
Browse files Browse the repository at this point in the history
* Fix unnecessary scroll

* Update changelog

* Add comment

---------

Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
  • Loading branch information
yenienserrano and asteriscos authored Jan 19, 2024
1 parent 0c6b647 commit c1a2039
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
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 wrong value at server stat Archives queue usage [#6342](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6342)
- Fixed the inventory data table when maximized and the docked menu [#6344](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6344)

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 {
height: calc(100vh - 345px) !important;
}

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

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

0 comments on commit c1a2039

Please sign in to comment.