Skip to content

Commit

Permalink
fix: 1倍屏
Browse files Browse the repository at this point in the history
  • Loading branch information
QiuShuiBai committed Mar 19, 2024
1 parent 877cbab commit 4b191a0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/mpx-cube-ui/src/common/stylus/mixin.styl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ border-top-1px($color)
border-top 1px solid $color
transform-origin 0 0
pointer-events none
@media (min-resolution: 2dppx)
@media (min-resolution: 1dppx), (min-resolution: 2dppx)
width 200%
transform scale(.5) translateZ(0)
@media (min-resolution: 3dppx)
Expand All @@ -29,7 +29,7 @@ border-bottom-1px($color)
border-bottom 1px solid $color
transform-origin 0 0
pointer-events none
@media (min-resolution: 2dppx)
@media (min-resolution: 1dppx), (min-resolution: 2dppx)
width 200%
transform scale(.5) translateZ(0)
@media (min-resolution: 3dppx)
Expand All @@ -48,7 +48,7 @@ border-right-1px($color)
border-right 1px solid $color
transform-origin 0 0
pointer-events none
@media (min-resolution: 2dppx)
@media (min-resolution: 1dppx), (min-resolution: 2dppx)
height 200%
transform scale(.5) translateZ(0)
@media (min-resolution: 3dppx)
Expand All @@ -67,7 +67,7 @@ border-left-1px($color)
border-left 1px solid $color
transform-origin 0 0
pointer-events none
@media (min-resolution: 2dppx)
@media (min-resolution: 1dppx), (min-resolution: 2dppx)
height 200%
transform scale(.5) translateZ(0)
@media (min-resolution: 3dppx)
Expand All @@ -90,7 +90,7 @@ border-1px($color = #ccc, $radius = 2PX, $style = solid)
transform-origin 0 0
transform-origin -0.1px 0
pointer-events none
@media (min-resolution: 2dppx)
@media (min-resolution: 1dppx), (min-resolution: 2dppx)
width 200%
height 200%
border-radius 'calc(%s * 2)' % $radius
Expand Down

0 comments on commit 4b191a0

Please sign in to comment.