Sitelet https://github.com/alauda/ui/pull/445
Skip to content

fix: number-input border blocked - #445

Merged
fengtianze merged 2 commits into
masterfrom
fix/number-input-border-blocked
Feb 3, 2023
Merged

fengtianze merged 2 commits into
masterfrom
fix/number-input-border-blocked

Conversation

@yangxiaolang

Copy link
Copy Markdown
Collaborator

border 的值并不是固定的 1px, 会随着浏览器缩放改变,导致之前通过 margin 调整按钮位置的方法会覆盖外层的 border
伪元素也是,通过 width 作为 border, 会在 100% 缩放下比实际 border 要宽

@changeset-bot

changeset-bot Bot commented Feb 3, 2023 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 133b3d0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@alauda/ui Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@yangxiaolang
yangxiaolang force-pushed the fix/number-input-border-blocked branch from 0b69ba5 to 133b3d0 Compare February 3, 2023 06:46
@fengtianze
fengtianze merged commit 87b9ae2 into master Feb 3, 2023
@fengtianze
fengtianze deleted the fix/number-input-border-blocked branch February 3, 2023 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants