mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-12 12:23:08 +08:00
Fix select align issue in chrome
This commit is contained in:
parent
e1cea9e4e4
commit
8494d46038
@ -83,6 +83,9 @@
|
|||||||
background-color: @component-background;
|
background-color: @component-background;
|
||||||
border-radius: @border-radius-base;
|
border-radius: @border-radius-base;
|
||||||
border: @border-width-base @border-style-base @border-color-base;
|
border: @border-width-base @border-style-base @border-color-base;
|
||||||
|
// strange align fix for chrome but works
|
||||||
|
// https://gw.alipayobjects.com/zos/rmsportal/VFTfKXJuogBAXcvfAUWJ.gif
|
||||||
|
border-top-width: @border-width-base + 0.02px;
|
||||||
transition: all .3s @ease-in-out;
|
transition: all .3s @ease-in-out;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
@ -161,7 +164,7 @@
|
|||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 0;
|
width: .1px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user