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