优化 remark 样式

This commit is contained in:
2betop 2020-07-28 16:14:08 +08:00
parent 0f91820e4a
commit bb86f93ece
2 changed files with 12 additions and 5 deletions

View File

@ -24,4 +24,15 @@
background-color: $Remark-onHover-bg;
border-color: $Remark-onHover-borderColor;
}
> svg {
top: 0;
width: ($Remark-width - px2rem(2px));
height: ($Remark-width - px2rem(2px));
color: $Remark-iconColor;
}
&:hover > svg {
color: $Remark-onHover-iconColor;
}
}

View File

@ -79,7 +79,7 @@
}
.#{$ns}Form-remark {
margin-top: ($Form-input-height - $fontSizeBase) / 2;
padding-top: $Form-label-paddingTop;
vertical-align: top;
}
@ -271,10 +271,6 @@
display: inline-block;
}
> .#{$ns}Remark {
padding-top: $Form-label-paddingTop;
}
> .#{$ns}Form-control.#{$ns}InputGroup {
display: inline-flex;
}