mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 12:08:13 +08:00
优化 remark 样式
This commit is contained in:
parent
0f91820e4a
commit
bb86f93ece
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user