From 72bb3776288becfec5884b14696bc83e61b35990 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E8=B4=A7=E6=9C=BA=E5=99=A8=E4=BA=BA?= Date: Sun, 3 May 2020 20:32:34 +0800 Subject: [PATCH] fix: Textarea height (#23835) * fix: Textarea height * update snapshot --- components/input/style/affix.less | 12 +------- .../__tests__/__snapshots__/demo.test.js.snap | 30 +++++++++---------- 2 files changed, 16 insertions(+), 26 deletions(-) diff --git a/components/input/style/affix.less b/components/input/style/affix.less index 6505d24942..6254c54f2f 100644 --- a/components/input/style/affix.less +++ b/components/input/style/affix.less @@ -7,15 +7,6 @@ &-affix-wrapper { .input(); display: inline-flex; - max-height: @input-height-base; - - &-lg { - max-height: @input-height-lg; - } - - &-sm { - max-height: @input-height-sm; - } &-disabled { .@{ant-prefix}-input[disabled] { @@ -24,8 +15,7 @@ } > input.@{ant-prefix}-input { - padding-right: 0; - padding-left: 0; + padding: 0; border: none; outline: none; diff --git a/components/table/__tests__/__snapshots__/demo.test.js.snap b/components/table/__tests__/__snapshots__/demo.test.js.snap index 56d8223e38..b93869ebfa 100644 --- a/components/table/__tests__/__snapshots__/demo.test.js.snap +++ b/components/table/__tests__/__snapshots__/demo.test.js.snap @@ -2713,7 +2713,7 @@ exports[`renders ./components/table/demo/dynamic-settings.md correctly 1`] = ` - More actions + More actions - More actions + More actions - More actions + More actions - More actions + More actions - More actions + More actions - More actions + More actions - More actions + More actions - More actions + More actions - More actions + More actions - More actions + More actions - false: + false: