mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 12:08:13 +08:00
wizard 样式优化
This commit is contained in:
parent
9ca93751e4
commit
e307948395
@ -239,27 +239,27 @@
|
||||
}
|
||||
|
||||
.text-xl {
|
||||
font-size: $fontSizeXl;
|
||||
font-size: $fontSizeXl !important;
|
||||
}
|
||||
|
||||
.text-lg {
|
||||
font-size: $fontSizeLg;
|
||||
font-size: $fontSizeLg !important;
|
||||
}
|
||||
|
||||
.text-md {
|
||||
font-size: $fontSizeMd;
|
||||
font-size: $fontSizeMd !important;
|
||||
}
|
||||
|
||||
.text-base {
|
||||
font-size: $fontSizeBase;
|
||||
font-size: $fontSizeBase !important;
|
||||
}
|
||||
|
||||
.text-sm {
|
||||
font-size: $fontSizeSm;
|
||||
font-size: $fontSizeSm !important;
|
||||
}
|
||||
|
||||
.text-xs {
|
||||
font-size: $fontSizeXs;
|
||||
font-size: $fontSizeXs !important;
|
||||
}
|
||||
|
||||
.text-xxs {
|
||||
|
@ -143,7 +143,7 @@
|
||||
background-color: $Wizard-steps-bg;
|
||||
border-bottom: $Wizard-steps-borderWidth solid $borderColor;
|
||||
text-align: $Wizard-steps-textAlign;
|
||||
height: $Wizard-steps-height;
|
||||
@include clearfix();
|
||||
|
||||
ul {
|
||||
display: $Wizard-steps-ulDisplay;
|
||||
|
@ -411,7 +411,7 @@ export default class Wizard extends React.Component<WizardProps, WizardState> {
|
||||
const currentStep = this.state.currentStep;
|
||||
|
||||
return (
|
||||
<div className={`${ns}Wizard-steps clearfix ${ns}Wizard--${mode}`} id="form-wizard">
|
||||
<div className={`${ns}Wizard-steps ${ns}Wizard--${mode}`} id="form-wizard">
|
||||
{Array.isArray(steps) && steps.length ? (
|
||||
<ul>
|
||||
{steps.map((step, key) => {
|
||||
|
Loading…
Reference in New Issue
Block a user