From 87e2ddf4dd62e5460fa7cd8e0b8b63beda111f7a Mon Sep 17 00:00:00 2001 From: Alexey Sidash Date: Tue, 7 Jun 2022 17:17:53 +0300 Subject: [PATCH] fix(Footer): COM-3783 Removed Moscow CSSSR address (Dzerzhinsky was left intact) --- .gitignore | 1 + .../DoubleBottom/Addresses/Addresses.styles.ts | 14 -------------- packages/core-design/src/data/footerPresets.ts | 12 ------------ 3 files changed, 1 insertion(+), 26 deletions(-) diff --git a/.gitignore b/.gitignore index 2ceefba2..1bda2995 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ report.*.json *.icloud .DS_Store .vscode/ +.idea/ diff --git a/packages/core-design/src/components/Footer/DoubleBottom/Addresses/Addresses.styles.ts b/packages/core-design/src/components/Footer/DoubleBottom/Addresses/Addresses.styles.ts index ca8af1e3..1f9c522d 100644 --- a/packages/core-design/src/components/Footer/DoubleBottom/Addresses/Addresses.styles.ts +++ b/packages/core-design/src/components/Footer/DoubleBottom/Addresses/Addresses.styles.ts @@ -79,14 +79,9 @@ const base = (props: ThemeProps) => { } .address-item:nth-of-type(3) { - margin-top: ${calcRem(86)}; margin-right: ${calcRem(83)}; } - .address-item:nth-of-type(3) .address { - margin-top: 0; - } - .address, .phone { font-weight: 400; @@ -137,13 +132,8 @@ const base = (props: ThemeProps) => { } .address-item:nth-of-type(3) { - margin-top: ${calcRem(72)}; margin-right: ${calcRem(33)}; } - - .address-item:nth-of-type(3) .address { - margin-top: ${calcRem(0)}; - } } ${mobile.all} { @@ -183,10 +173,6 @@ const base = (props: ThemeProps) => { .address-item:last-of-type { margin-top: ${calcRem(24)}; } - - .address-item:nth-of-type(3) .address { - margin-top: ${calcRem(0)}; - } } ` } diff --git a/packages/core-design/src/data/footerPresets.ts b/packages/core-design/src/data/footerPresets.ts index 87136bc3..5f66fb4b 100644 --- a/packages/core-design/src/data/footerPresets.ts +++ b/packages/core-design/src/data/footerPresets.ts @@ -14,12 +14,6 @@ const addresses = { { id: 'russia', title: 'Россия', - address: '22 Большой Козихинский пер.,
стр. 2, офис 28,
г. Москва, 123001,
Россия', - phone: '+7 (499) 113-16-17', - timeZone: 'Europe/Moscow', - }, - { - id: 'russia_2', address: '30 Лесная ул.,
стр. 1, офис 303,
г. Дзержинский, 140090,
Россия', phone: '+7 (499) 113-16-17', timeZone: 'Europe/Moscow', @@ -43,12 +37,6 @@ const addresses = { { id: 'russia', title: 'Russia', - address: "22 Bol'shoj Kozihinskij Lane,
bld. 2, office 28,
Moscow, 123001,
Russia", - phone: '+7 (499) 113-16-17', - timeZone: 'Europe/Moscow', - }, - { - id: 'russia_2', address: '30 Lesnaya St.,
bld. 1, office 303,
Dzerzhinsky, 140090,
Russia', phone: '+7 (499) 113-16-17', timeZone: 'Europe/Moscow',