-
Notifications
You must be signed in to change notification settings - Fork 32
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
fix(Button): remove left and right padding of tertiary button #1860
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit cca2b41:
|
✅ DNB Eufemia Portal deploy preview ready
|
Good job :) |
Very good observations! Looks like we have to fix these padding's. |
Hmm, good point 💯 But most likely the same visual changes as in breadcrumb can/will happen in other applications using the tertiary button as well, and that's perhaps a "breaking change"? 🤔 |
e2b29e7
to
b9438e2
Compare
b9438e2
to
ad3d9d0
Compare
Lets make it a part of v10 then 🥤 |
packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/v10-info.md
Show resolved
Hide resolved
…ndered (#1875) * chore(Slider): make visual tests more reliable for when Tooltip is rendered I hope at least so. Se the first commit. the rest is snapshot name changes due to JS to TS file extension change. * chore: update snapshots
2cebc2e
to
f7567f0
Compare
With PR #1860 we got this issue: By adding a visual test, simulating the focus state, we should avoid this in the future. Its fixed by removing the `overflow: hidden` – its not used actually, because our animation `HeightAnimation` will add&remove it during the animation anyway.
With PR #1860 we got this issue: By adding a visual test, simulating the focus state, we should avoid this in the future. Its fixed by removing the `overflow: hidden` – its not used actually, because our animation `HeightAnimation` will add&remove it during the animation anyway.
## [9.46.2](v9.46.1...v9.46.2) (2023-01-29) ### Bug Fixes * **Breadcrumb:** ensure focus state is not partially hidden ([#1949](#1949)) ([954d570](954d570)), closes [#1860](#1860) * **Table:** fix fist border on rowSpan={2} is used in first column ([#1956](#1956)) ([48ff543](48ff543)) * **Table:** fix sticky table when in iFrame ([#1954](#1954)) ([ac4f254](ac4f254))
With PR #1860 we got this issue: By adding a visual test, simulating the focus state, we should avoid this in the future. Its fixed by removing the `overflow: hidden` – its not used actually, because our animation `HeightAnimation` will add&remove it during the animation anyway.
The tertiary button has space to its left and right to ensure space to other elements, much like a text link. But our other buttons do not have a space, so this PR is about to align to the other button variants and remove the space entirely.
The main commit is this one here.
For reference:
Without padding (proposed):
With padding (currently):