-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use the same structure and spacing for deployment summaries #2534
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The actual content has not changed, just the structure and styling.
} | ||
|
||
.deployment-summary-container { | ||
display: flex; | ||
align-items: center; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This wasn't being used since align-items: baseline
underneath overrode it.
@@ -596,7 +598,8 @@ const viewContent = () => { | |||
margin-top: 1.33em; | |||
} | |||
|
|||
.deployment-summary { | |||
.deployment-summary-title { | |||
margin-block-start: 1.33em; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was pulled out of the user stylesheet of VS Code to unify it with .progress-ring
margin-top: 0; | ||
margin-bottom: 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The margin-top
is now taken care of by the margin-bottom
of the h4.deployment-summary-title
CSS.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
34e62c8
to
bb6c147
Compare
This PR changes the structure and CSS of the in progress summary to be more similar to our other states - cancelled, successful, failed.
It unifies some of the CSS and markup to accomplish this so the vertical spacing and font-weight do not change across those summaries.
Preview Video
CleanShot.2025-01-14.at.13.51.22.mp4
Notice how the vertical space between the title (progress ring) and the line above no longer change.
Intent
Resolves #2531
Type of Change