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 styles in small height viewports #6747

Merged
merged 15 commits into from
Jun 10, 2024
Merged
Show file tree
Hide file tree
Changes from 8 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
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ All notable changes to the Wazuh app project will be documented in this file.
- Fixed an error of malformed table row on the generation of PDF reports [#6558](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6558)
- Fixed the sample alerts scripts to generate valid IP ranges and file hashes [#6667](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6667)
- Fixed cronjob max seconds interval validation [#6730](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6730)

- Fixed styles in small height viewports [#6747](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6747)

### Removed

- Removed some branding references across the application. [#6155](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6155)
Expand Down
10 changes: 0 additions & 10 deletions plugins/main/public/components/common/wazuh-discover/discover.scss
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
.discoverContainer {
height: calc(100vh - 104px);

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

.discoverDataGrid {
height: calc(100vh - 458px);
}

.discoverChartContainer {
min-height: 234px;
.dshLayout-isMaximizedPanel {
Expand All @@ -22,7 +16,3 @@
}
}
}

.headerIsExpanded .discoverContainer {
height: calc(100vh - 153px);
}
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,4 @@ export const wzDiscoverRenderColumns: tDataGridRenderColumn[] = [
<div>{renderMitreTechnique(value)}</div>
),
},
{
id: 'timestamp',
render: value => formatUIDate(value),
},
lucianogorza marked this conversation as resolved.
Show resolved Hide resolved
];
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ const WazuhDiscoverComponent = (props: WazuhDiscoverProps) => {
</EuiPanel>
</EuiPanel>
</EuiFlexItem>
<EuiFlexItem grow={false} className='discoverDataGrid'>
<EuiFlexItem grow={false}>
<EuiDataGrid
{...dataGridProps}
className={sideNavDocked ? 'dataGridDockedNav' : ''}
Expand Down
8 changes: 0 additions & 8 deletions plugins/main/public/styles/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1818,14 +1818,6 @@ iframe.width-changed {
z-index: 9999;
}

/* OSD Data grid full screen with dock navigation left sidebar */

.dataGridDockedNav {
&.euiDataGrid--fullScreen {
left: 320px;
}
}

.wz-app {
.euiPage {
background-color: transparent;
Expand Down
Loading