mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
Tweak align problems
This commit is contained in:
parent
f8c5849bfa
commit
acc4061eeb
@ -10,7 +10,8 @@
|
||||
display: inline-block;
|
||||
line-height: 1;
|
||||
position: relative;
|
||||
vertical-align: text-bottom;
|
||||
vertical-align: middle;
|
||||
top: -0.8px;
|
||||
|
||||
.@{checkbox-prefix-cls}-wrapper:hover &-inner,
|
||||
&:hover &-inner,
|
||||
|
@ -27,7 +27,8 @@
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
line-height: 1;
|
||||
vertical-align: text-bottom;
|
||||
vertical-align: middle;
|
||||
top: -1px;
|
||||
cursor: pointer;
|
||||
.@{radio-prefix-cls}-wrapper:hover &,
|
||||
&:hover,
|
||||
|
@ -14,11 +14,12 @@
|
||||
padding: 0 0 12px;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
font-size: @font-size-base;
|
||||
|
||||
&-tail {
|
||||
position: absolute;
|
||||
left: 5px;
|
||||
top: 0;
|
||||
top: 0.75em;
|
||||
height: 100%;
|
||||
border-left: 2px solid @timeline-color;
|
||||
}
|
||||
@ -34,6 +35,9 @@
|
||||
background-color: @component-background;
|
||||
border-radius: 100px;
|
||||
border: 2px solid transparent;
|
||||
margin-top: -6px;
|
||||
top: 0.75em;
|
||||
|
||||
&-blue {
|
||||
border-color: @primary-color;
|
||||
color: @primary-color;
|
||||
@ -65,9 +69,6 @@
|
||||
|
||||
&-content {
|
||||
padding: 0 0 10px 24px;
|
||||
font-size: @font-size-base;
|
||||
position: relative;
|
||||
top: -3px;
|
||||
}
|
||||
|
||||
&-last {
|
||||
|
@ -57,7 +57,7 @@
|
||||
}
|
||||
.@{tree-prefix-cls}-node-content-wrapper {
|
||||
display: inline-block;
|
||||
padding: 3px 5px;
|
||||
padding: 0 5px;
|
||||
border-radius: @border-radius-sm;
|
||||
margin: 0;
|
||||
cursor: pointer;
|
||||
@ -66,6 +66,8 @@
|
||||
color: @text-color;
|
||||
transition: all .3s;
|
||||
position: relative;
|
||||
height: 24px;
|
||||
line-height: 24px;
|
||||
&:hover {
|
||||
background-color: @item-hover-bg;
|
||||
}
|
||||
@ -76,7 +78,7 @@
|
||||
span {
|
||||
&.@{tree-prefix-cls}-checkbox {
|
||||
margin: 0 4px 0 2px;
|
||||
vertical-align: middle;
|
||||
top: 1px;
|
||||
}
|
||||
&.@{tree-prefix-cls}-switcher,
|
||||
&.@{tree-prefix-cls}-iconEle {
|
||||
|
Loading…
Reference in New Issue
Block a user