From 610b9e13812570fa72d09d6683c874ece1a5d8e9 Mon Sep 17 00:00:00 2001 From: Sergey <148218517+qradle-yndx@users.noreply.github.com> Date: Thu, 18 Jan 2024 12:29:09 +0300 Subject: [PATCH] fix: cut form-block vertical paddings for direction center (#770) * fix: cut form-block vertical paddings for direction center --- src/blocks/Form/Form.scss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/blocks/Form/Form.scss b/src/blocks/Form/Form.scss index 3d766d9e1..e1d8a2a77 100644 --- a/src/blocks/Form/Form.scss +++ b/src/blocks/Form/Form.scss @@ -51,8 +51,6 @@ $largeBorderRadius: 32px; } &_center { - padding-top: $indentXL; - padding-bottom: $indentL; flex-direction: column; #{$root}__content-wrapper { @@ -101,6 +99,10 @@ $largeBorderRadius: 32px; padding: $indentXL; } } + &_center { + padding-top: $indentXL; + padding-bottom: $indentL; + } } } }