Skip to content

UI - add padding to my device page#16287

Merged
RachelElysia merged 2 commits intomainfrom
16277-my-device-padding
Jan 23, 2024
Merged

UI - add padding to my device page#16287
RachelElysia merged 2 commits intomainfrom
16277-my-device-padding

Conversation

@jacobshandling
Copy link
Copy Markdown
Contributor

@jacobshandling jacobshandling commented Jan 23, 2024

Addresses #16277

Screenshot 2024-01-23 at 6 25 55 PM

Checklist for submitter

  • Changes file added for user-visible changes in changes/
  • Manual QA for all new/changed functionality

lukeheath
lukeheath previously approved these changes Jan 23, 2024
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (5098b42) 65.45% compared to head (5ab544c) 65.45%.
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #16287   +/-   ##
=======================================
  Coverage   65.45%   65.45%           
=======================================
  Files        1124     1124           
  Lines       97575    97575           
  Branches     2413     2413           
=======================================
  Hits        63868    63868           
  Misses      28925    28925           
  Partials     4782     4782           
Flag Coverage Δ
frontend 51.94% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@RachelElysia RachelElysia merged commit 9f054b0 into main Jan 23, 2024
@RachelElysia RachelElysia deleted the 16277-my-device-padding branch January 23, 2024 18:56
lukeheath pushed a commit that referenced this pull request Jan 23, 2024
jacobshandling added a commit that referenced this pull request Jan 25, 2024
…-wrapper` and `.main-content` to DUP (#16310)

## More global solution to #16277, cleanup to prevent similar bugs

- Swap out [localized
solution](#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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants