From f964abc7f432b6b56521e52b9b1b1da03d078887 Mon Sep 17 00:00:00 2001 From: 07akioni <07akioni2@gmail.com> Date: Sun, 9 Aug 2020 20:28:08 +0800 Subject: [PATCH] fix: Steps progress circle size & rtl style when use `progress` (#26075) * fix: Steps progress circle size * test: update snapshot * fix: rtl --- .../__tests__/__snapshots__/demo.test.js.snap | 10 +++++----- components/steps/index.tsx | 2 +- components/steps/style/progress.less | 8 ++++---- components/steps/style/rtl.less | 16 ++++++++-------- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/components/steps/__tests__/__snapshots__/demo.test.js.snap b/components/steps/__tests__/__snapshots__/demo.test.js.snap index 976a3ec991..c4eb55d486 100644 --- a/components/steps/__tests__/__snapshots__/demo.test.js.snap +++ b/components/steps/__tests__/__snapshots__/demo.test.js.snap @@ -1273,7 +1273,7 @@ exports[`renders ./components/steps/demo/progress.md correctly 1`] = ` >
{ }) => { if (status === 'process' && percent !== undefined) { // currently it's hard-coded, since we can't easily read the actually width of icon - const progressWidth = size === 'small' ? 30 : 38; + const progressWidth = size === 'small' ? 32 : 40; const iconWithProgress = (