From 13e92ebd0a42b617387102df7365bf1d388d1420 Mon Sep 17 00:00:00 2001 From: Valeri8888 <87258678+Valeri8888@users.noreply.github.com> Date: Tue, 10 Oct 2023 10:12:37 +0300 Subject: [PATCH] fix: fixed indentation in mobile components (#888) --- .changeset/beige-radios-watch.md | 6 ++++++ ...complete-mobile-interactions-tests-fill-value-2-snap.png | 4 ++-- ...complete-modal-mobile-interactions-fill-value-2-snap.png | 4 ++-- ...tocomplete-modal-mobile-interactions-fill-value-snap.png | 4 ++-- packages/input-autocomplete/src/mobile.module.css | 2 +- ...al-phone-input-mobile-interactions-autocomplete-snap.png | 4 ++-- .../src/components/base-select-mobile/index.module.css | 2 +- 7 files changed, 16 insertions(+), 10 deletions(-) create mode 100644 .changeset/beige-radios-watch.md diff --git a/.changeset/beige-radios-watch.md b/.changeset/beige-radios-watch.md new file mode 100644 index 0000000000..f00218ec08 --- /dev/null +++ b/.changeset/beige-radios-watch.md @@ -0,0 +1,6 @@ +--- +"@alfalab/core-components-input-autocomplete": patch +"@alfalab/core-components-select": patch +--- + +Исправлен отступ в шапке мобильных компонентов с поиском diff --git a/packages/input-autocomplete/src/__image_snapshots__/input-autocomplete-mobile-interactions-tests-fill-value-2-snap.png b/packages/input-autocomplete/src/__image_snapshots__/input-autocomplete-mobile-interactions-tests-fill-value-2-snap.png index d6453cc95d..cceb0cfeb7 100644 --- a/packages/input-autocomplete/src/__image_snapshots__/input-autocomplete-mobile-interactions-tests-fill-value-2-snap.png +++ b/packages/input-autocomplete/src/__image_snapshots__/input-autocomplete-mobile-interactions-tests-fill-value-2-snap.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:413e4cda3567fc52b836ae25e04528bc8b0832ea6c3b6b46131084dffa48217b -size 20434 +oid sha256:9e3ca53c81ad74e31abb3f8341d8c12c3fdffa0317e3e77f3e257b707776fd6c +size 19712 diff --git a/packages/input-autocomplete/src/__image_snapshots__/input-autocomplete-modal-mobile-interactions-fill-value-2-snap.png b/packages/input-autocomplete/src/__image_snapshots__/input-autocomplete-modal-mobile-interactions-fill-value-2-snap.png index 88c02fdbb9..f1b4a45546 100644 --- a/packages/input-autocomplete/src/__image_snapshots__/input-autocomplete-modal-mobile-interactions-fill-value-2-snap.png +++ b/packages/input-autocomplete/src/__image_snapshots__/input-autocomplete-modal-mobile-interactions-fill-value-2-snap.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6dc864f96045d1358ba8ddadc185a0ec2e2372bbb27a413f2889995390421523 -size 18404 +oid sha256:81c95230d6da728b52afa9ac4a94daa426786d2dda51f913769804dc95220709 +size 18398 diff --git a/packages/input-autocomplete/src/__image_snapshots__/input-autocomplete-modal-mobile-interactions-fill-value-snap.png b/packages/input-autocomplete/src/__image_snapshots__/input-autocomplete-modal-mobile-interactions-fill-value-snap.png index 701af53b1d..cc1eae3eed 100644 --- a/packages/input-autocomplete/src/__image_snapshots__/input-autocomplete-modal-mobile-interactions-fill-value-snap.png +++ b/packages/input-autocomplete/src/__image_snapshots__/input-autocomplete-modal-mobile-interactions-fill-value-snap.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8e23ccb7783c05b55b4d5975d1eb7e4e487bf8cce430259b8362324e9b417941 -size 31534 +oid sha256:aea0e6ec7e6768699e4976d6a4f11b0bca01271c7536284801b569dee9e6804f +size 31541 diff --git a/packages/input-autocomplete/src/mobile.module.css b/packages/input-autocomplete/src/mobile.module.css index 750a2e715a..e3f57ddb6f 100644 --- a/packages/input-autocomplete/src/mobile.module.css +++ b/packages/input-autocomplete/src/mobile.module.css @@ -1,7 +1,7 @@ @import '../../themes/src/default.css'; .bottomAddonInput { - padding: 0 var(--gap-xs) var(--gap-xs); + padding: var(--gap-xs); box-sizing: border-box; } diff --git a/packages/international-phone-input/src/__image_snapshots__/international-phone-input-mobile-interactions-autocomplete-snap.png b/packages/international-phone-input/src/__image_snapshots__/international-phone-input-mobile-interactions-autocomplete-snap.png index aa3e5bf6da..b6fffae3c3 100644 --- a/packages/international-phone-input/src/__image_snapshots__/international-phone-input-mobile-interactions-autocomplete-snap.png +++ b/packages/international-phone-input/src/__image_snapshots__/international-phone-input-mobile-interactions-autocomplete-snap.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:547f472673f416a675338fb5c829e74ade4badca8ad2d86de0e0f33a1081da0f -size 12981 +oid sha256:bd6571b636a41c62f15085126869833c31ac7c106f17ab2030187a53b29c5cfa +size 12982 diff --git a/packages/select/src/components/base-select-mobile/index.module.css b/packages/select/src/components/base-select-mobile/index.module.css index 781a626325..a7a83bff19 100644 --- a/packages/select/src/components/base-select-mobile/index.module.css +++ b/packages/select/src/components/base-select-mobile/index.module.css @@ -49,7 +49,7 @@ } .search { - padding: var(--gap-m) var(--gap-xs) var(--gap-s); + padding: var(--gap-xs); } /* width: max-content; fix for IE */