UI: Fix setup flow alignment (#16585)

## Addresses #16569 
Before:
![Screenshot 2024-02-02 at 5 07
00 PM](https://github.com/fleetdm/fleet/assets/61553566/03e27bef-95ad-41b0-ae02-1211ae2d872a)

Now:

![Screenshot-2024-02-02-at-51559PM](https://github.com/fleetdm/fleet/assets/61553566/81100872-c322-413c-acef-842f60306416)


## Checklist for submitter
- [x] Checked on Chrome, Firefox, Safari
- [x] Changes file added for user-visible changes in `changes/`
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
This commit is contained in:
Jacob Shandling 2024-02-07 10:33:05 -08:00 committed by GitHub
parent 94af293ec6
commit 19c1569538
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 18 additions and 7 deletions

View file

@ -0,0 +1 @@
* Fix a small alignment bug in the setup flow

View file

@ -1,8 +1,7 @@
.registration-breadcrumbs {
display: flex;
justify-content: space-between;
align-content: center;
width: 600px;
width: 652px;
height: 125px;
margin: 38px auto 0;
@ -12,7 +11,7 @@
&__page {
text-align: center;
width: 156px;
min-width: 156px;
font-size: $small;
font-weight: $regular;
color: $core-white;
@ -21,18 +20,29 @@
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
// line after breadcrumb
&::before {
content: "";
position: absolute;
width: 197px;
width: 88.5%;
height: 2px;
background-color: $core-vibrant-blue;
bottom: 46px;
left: 90px;
bottom: 36%;
left: 121px;
// Firefox-specific
@-moz-document url-prefix() {
bottom: 38.2%;
}
@include breakpoint(tablet) {
bottom: 21px;
bottom: 26.5%;
// Firefox-specific
@-moz-document url-prefix() {
bottom: 30%;
}
}
}