mirror of
https://github.com/fleetdm/fleet
synced 2026-05-06 14:58:33 +00:00
For #25735 This is a fix for the 500 page appearing when filtering for vulnerable software on the host details page. Also adds some missing docs for vulnerable query param filter on `GET hosts/:id/software` endpoint - [x] Changes file added for user-visible changes in `changes/`, `orbit/changes/` or `ee/fleetd-chrome/changes`. See [Changes files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/Committing-Changes.md#changes-files) for more information. - [x] Manual QA for all new/changed functionality
66 lines
1.2 KiB
SCSS
66 lines
1.2 KiB
SCSS
.empty-table {
|
|
&__container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
margin: 96px auto; // 96px to top of div
|
|
max-width: 500px; // standard empty state width
|
|
gap: $pad-medium; // 16px between image, text, and buttons
|
|
}
|
|
|
|
&__inner {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: $pad-small; // 4px from header to info text
|
|
|
|
h3,
|
|
h3 a {
|
|
text-align: center;
|
|
font-size: $small;
|
|
font-weight: $bold;
|
|
margin: 0;
|
|
}
|
|
|
|
ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
color: $core-fleet-black;
|
|
list-style: none;
|
|
|
|
li {
|
|
&::before {
|
|
content: "•";
|
|
color: $core-vibrant-blue;
|
|
margin-right: $pad-medium;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&__info,
|
|
&__additional-info {
|
|
@include help-text;
|
|
line-height: 1.5;
|
|
text-align: center;
|
|
margin: 0;
|
|
}
|
|
|
|
&__cta-buttons {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: $pad-medium; // 16px between buttons
|
|
}
|
|
}
|
|
|
|
// more flexible styling for empty tables within tabs
|
|
.react-tabs {
|
|
.empty-table {
|
|
&__container {
|
|
align-self: center;
|
|
justify-content: center;
|
|
margin-bottom: 20px;
|
|
min-height: 155px;
|
|
max-width: none;
|
|
}
|
|
}
|
|
}
|