wizard 样式优化

This commit is contained in:
liaoxuezhi 2019-09-16 10:40:58 +08:00
parent 9ca93751e4
commit e307948395
3 changed files with 8 additions and 8 deletions

View File

@ -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 {

View File

@ -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;

View File

@ -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) => {