Skip to content

Fix "Recover" button wrap#598

Merged
SlavaNordic merged 4 commits into
mainfrom
fix-recover-btn-wrap
May 12, 2026
Merged

Fix "Recover" button wrap#598
SlavaNordic merged 4 commits into
mainfrom
fix-recover-btn-wrap

Conversation

@SlavaNordic
Copy link
Copy Markdown
Contributor

@SlavaNordic SlavaNordic commented May 11, 2026

https://nordicsemi.atlassian.net/browse/NCD-1647

Reason for this to happen is that Button component has tw-border tw-border-nordicBlue classes, for some reason they did not appear in classes with older shared but appear now.
Just added a bit of a width to allow text to fit into the box. Almost no visual difference.

PR also adds white border, because current border is same as bg color => visually button height is smaller than it should be

@github-actions

This comment has been minimized.

@SlavaNordic SlavaNordic added doc not required All PRs either need "doc required" or "doc not required". ui not required All PRs either need "ui required" or "ui not required". labels May 11, 2026
@SlavaNordic SlavaNordic temporarily deployed to release-test (internal) May 11, 2026 11:29 — with GitHub Actions Inactive
kylebonnici
kylebonnici previously approved these changes May 11, 2026
@kylebonnici
Copy link
Copy Markdown
Contributor

IMO we should let buttons take their natural width and not fore both to be same width. @tsvetelinpetrov @datenreisender can you give your input

@SlavaNordic
Copy link
Copy Markdown
Contributor Author

Agree with @kylebonnici, not sure why we wanted same 60px width. Maybe this was Ketil's feedback.

@tsvetelinpetrov
Copy link
Copy Markdown
Contributor

IMO we should let buttons take their natural width and not fore both to be same width. @tsvetelinpetrov @datenreisender can you give your input

I also don't remember what was the reasoning for the fixed width, but I agree with @kylebonnici.

@datenreisender
Copy link
Copy Markdown
Contributor

I also prefer to let the buttons have their natural width here.

@SlavaNordic SlavaNordic merged commit 5709279 into main May 12, 2026
3 checks passed
@SlavaNordic SlavaNordic deleted the fix-recover-btn-wrap branch May 12, 2026 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc not required All PRs either need "doc required" or "doc not required". ui not required All PRs either need "ui required" or "ui not required".

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants