Skip to content
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

feat(protocol-designer): update TC profile modal to align with the latest design #16731

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

koji
Copy link
Contributor

@koji koji commented Nov 7, 2024

Overview

update TC profile modal to align with the latest design

close AUTH-927

Test Plan and Hands on Testing

Changelog

Review requests

Risk assessment

low

…test design

update TC profile modal to align with the latest design

close AUTH927
Comment on lines +215 to +234
<Btn
whiteSpace={NO_WRAP}
textDecoration={TYPOGRAPHY.textDecorationUnderline}
onClick={() => {
setShowEditCurrentStep(true)
setIsInEdit(true)
}}
padding={SPACING.spacing4}
css={[
BUTTON_LINK_STYLE,
css`
visibility: ${hover ? 'visible' : 'hidden'};
opacity: ${hover ? 1 : 0};
`,
]}
>
<StyledText desktopStyle="bodyDefaultRegular">
{i18n.format(t('edit'), 'capitalize')}
</StyledText>
</Btn>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

using this way because adding padding to Btn will causes the layout shift issue.
I think reserved space for edit button is the easiest way. But I'm open to any better suggestions.
https://opentrons.slack.com/archives/C07E9T2NAQK/p1731007655280299

@koji koji marked this pull request as ready for review November 7, 2024 22:17
@koji koji requested a review from a team as a code owner November 7, 2024 22:17
@koji koji added the authorship label Nov 7, 2024
Copy link
Collaborator

@jerader jerader left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@koji koji merged commit 8fe6a43 into edge Nov 8, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants