mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
07366e9497
## More global solution to #16277, cleanup to prevent similar bugs - Swap out [localized solution](https://github.com/fleetdm/fleet/pull/16287) for standard `.main-content` containing desired padding - Apply `.core-wrapper` class to parent, in line with all other UI pages - Remove problematic legacy `.body-wrap` - spot check all places this class was being applied: - PlatformWrapper - LiveQuery –> SelectTargets (was causing excess padding here) - PackQueriesTable (caused excess padding here) - TeamManagementPage (excess padding was being locally negated) - EditQueryPage - LiveQueryPage - DeviceUserPage - Remove local styles meant to negate `.body-wrap`'s styles - [x] Manual QA for all new/changed functionality --------- Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
53 lines
879 B
SCSS
53 lines
879 B
SCSS
.edit-query-page {
|
|
@include page;
|
|
|
|
&__warning {
|
|
padding: $pad-medium;
|
|
font-size: $x-small;
|
|
color: $core-fleet-black;
|
|
background-color: #fff0b9;
|
|
border: 1px solid #f2c94c;
|
|
border-radius: $border-radius;
|
|
margin: 0;
|
|
margin-top: $pad-large;
|
|
|
|
p {
|
|
margin: 0;
|
|
line-height: 20px;
|
|
}
|
|
}
|
|
|
|
.ace_content {
|
|
min-height: 500px !important;
|
|
}
|
|
|
|
&__count-spinner {
|
|
margin-right: $pad-small;
|
|
}
|
|
&__page-loading {
|
|
.loading-spinner {
|
|
margin: $pad-large 0 0;
|
|
}
|
|
}
|
|
&__page-error {
|
|
h4 {
|
|
margin: 0;
|
|
margin-top: 28px;
|
|
margin-left: -7px;
|
|
font-size: $small;
|
|
|
|
img {
|
|
transform: scale(0.5);
|
|
vertical-align: middle;
|
|
position: relative;
|
|
top: -2px;
|
|
}
|
|
}
|
|
p {
|
|
margin: 0;
|
|
margin-top: $pad-medium;
|
|
font-size: $x-small;
|
|
}
|
|
}
|
|
}
|