Skip to content

Commit

Permalink
Merge pull request #300 from arco-design/fix-divider-style-xzq
Browse files Browse the repository at this point in the history
feat: optimize `Divider` hairline style
  • Loading branch information
ziqisia authored Nov 20, 2024
2 parents ba39cb3 + 99b1604 commit 72ef6ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/arcodesign/components/divider/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
&--hairline {
&::before,
&::after {
transform: scaleY(0.5);
@media (-webkit-min-device-pixel-ratio: 2), (min-device-pixel-ratio: 2) {
transform: scaleY(0.5);
}

@media (-webkit-min-device-pixel-ratio: 3), (min-device-pixel-ratio: 3) {
transform: scaleY(0.33333333);
Expand Down

0 comments on commit 72ef6ea

Please sign in to comment.