fleet/frontend/components/PlatformCompatibility/_styles.scss
RachelElysia 2641d50320
Fleet UI: Fix platform compatibility styling (#19850)
## Issue
Cerra #19710 

## Description
- Remove 12px padding to the left of platform compatibility
- Refactor to `flex-wrap` so on small widths, the chrome platform
doesn't overflow past the section

## Code cleanup
- Remove redundant `<span/>`
- Refactor 12px gaps and 4px gaps to use flex `gap` instead of `padding`
- Refactor redundant code in `<PlatformCompatibility/>`



# Checklist for submitter

If some of the following don't apply, delete the relevant line.

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-06-18 15:14:20 -07:00

19 lines
253 B
SCSS

.platform-compatibility {
display: flex;
font-size: $x-small;
align-items: center;
gap: 12px;
flex-wrap: wrap;
b,
svg,
span {
display: flex;
align-items: center;
}
.platform {
display: flex;
gap: $pad-xsmall;
}
}