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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(module:transfer): transfer button spacing #2156

Merged
merged 1 commit into from
Dec 9, 2021
Merged

fix(module:transfer): transfer button spacing #2156

merged 1 commit into from
Dec 9, 2021

Conversation

dennisrahmen
Copy link
Contributor

馃 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • Component style update
  • Bundle size optimization
  • Performance optimization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

馃敆 Related issue link

  • none

馃挕 Background and solution

The buttons for tranfering items from one side to the other had unnecessary spacing.
image

This is caused by the <span> element which is rendered inside the button.
Since the button includes an API to prevent this, I added a check for it.

馃摑 Changelog

Language Changelog
馃嚭馃嚫 English Apply NoSpanWrap to button when string is emty
馃嚚馃嚦 Chinese

鈽戯笍 Self Check before Merge

鈿狅笍 Please check all items below before review. 鈿狅笍

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • Changelog is provided or not needed

@dnfadmin
Copy link

dnfadmin commented Dec 8, 2021

CLA assistant check
All CLA requirements met.

@github-actions
Copy link

github-actions bot commented Dec 8, 2021

Prepare preview

@ElderJames ElderJames enabled auto-merge (squash) December 9, 2021 05:14
@codecov
Copy link

codecov bot commented Dec 9, 2021

Codecov Report

Merging #2156 (9c335ca) into master (8f89deb) will increase coverage by 1.80%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2156      +/-   ##
==========================================
+ Coverage   27.86%   29.67%   +1.80%     
==========================================
  Files         492      519      +27     
  Lines       32544    25308    -7236     
  Branches        0      243     +243     
==========================================
- Hits         9070     7510    -1560     
+ Misses      23474    17762    -5712     
- Partials        0       36      +36     
Impacted Files Coverage 螖
...s/core/JsInterop/modules/dom/manipulationHelper.ts 4.83% <0.00%> (酶)
components/transfer/Transfer.razor 0.00% <0.00%> (酶)
components/core/Helpers/MemberPath/PathNode.cs 46.15% <0.00%> (-8.85%) 猬囷笍
components/menu/SubMenu.razor 63.93% <0.00%> (-7.95%) 猬囷笍
components/core/Reflection/TypeDefined.cs 77.77% <0.00%> (-7.94%) 猬囷笍
components/input/InputGroup.razor.cs 87.50% <0.00%> (-6.95%) 猬囷笍
...ponents/date-picker/types/DatePickerPlaceholder.cs 22.72% <0.00%> (-4.20%) 猬囷笍
...onents/date-picker/internal/DatePickerHeader.razor 43.90% <0.00%> (-3.72%) 猬囷笍
...ponents/core/Component/Overlay/type/TriggerType.cs 81.25% <0.00%> (-2.97%) 猬囷笍
components/core/Helpers/DateHelper.cs 80.00% <0.00%> (-2.71%) 猬囷笍
... and 448 more

Continue to review full report at Codecov.

Legend - Click here to learn more
螖 = absolute <relative> (impact), 酶 = not affected, ? = missing data
Powered by Codecov. Last update 3b26cf7...9c335ca. Read the comment docs.

Copy link
Member

@ElderJames ElderJames left a comment

Choose a reason for hiding this comment

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

LGTM

@ElderJames ElderJames merged commit 35ae6c6 into ant-design-blazor:master Dec 9, 2021
knight1219 added a commit to knight1219/ant-design-blazor that referenced this pull request Dec 11, 2021


* 'master' of https://github.com/knight1219/ant-design-blazor:
  Allowing FormItem to be used in default EditForm
  refactoring EditContext to be injected properly by both AndDesign.Form and EditForm.
  fix(module: transfer): transfer button spacing (ant-design-blazor#2156)
  docs: Improve the API part about Form (ant-design-blazor#2150)
  chore: support IE and .net6 for server-side (ant-design-blazor#2119)
  docs: Update getting-started.zh-CN.md (ant-design-blazor#2145)
  docs(module: list): update the demos to use avatar template (ant-design-blazor#2147)
  fix(module: select): it's incorrect to detect type this way, it throws when class inheritance is used (ant-design-blazor#2121)
  fix(module: tree): Update check status when set `CheckedKeys` property (ant-design-blazor#2133)
  fix(module: radio): `Radio` in a group should always keep `Disabled` as same as `RadioGroup.Disabled` (ant-design-blazor#2142)
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.

None yet

3 participants