diff --git a/packages/amis-ui/scss/components/form/_date-range.scss b/packages/amis-ui/scss/components/form/_date-range.scss index 2f2f84351..e6bb9539b 100644 --- a/packages/amis-ui/scss/components/form/_date-range.scss +++ b/packages/amis-ui/scss/components/form/_date-range.scss @@ -45,6 +45,7 @@ flex: 1; width: 50%; line-height: px2rem(30px); + font-size: var(--fonts-size-7); &::placeholder { color: var(--colors-neutral-text-6); diff --git a/packages/amis-ui/scss/components/form/_date.scss b/packages/amis-ui/scss/components/form/_date.scss index e8a60213d..0718798cd 100644 --- a/packages/amis-ui/scss/components/form/_date.scss +++ b/packages/amis-ui/scss/components/form/_date.scss @@ -57,6 +57,10 @@ } } + .#{$ns}DatePicker-input { + font-size: var(--fonts-size-7); + } + &.is-disabled { background: $gray200;