diff --git a/packages/website/src/custom-components/Address.css b/packages/website/src/custom-components/Address.css index 0573302d..eaa8d2c6 100644 --- a/packages/website/src/custom-components/Address.css +++ b/packages/website/src/custom-components/Address.css @@ -30,26 +30,13 @@ box-shadow: 0 0 5px rgba(74, 144, 226, 0.5); } -.map-container, -.map-placeholder { +.map-container { + overflow: hidden; height: 150px; width: 100%; border-radius: 8px; } -.map-container { - overflow: hidden; -} - -.map-placeholder { - display: flex; - justify-content: center; - align-items: center; - background: #d3d3d3; - color: #666; - font-size: 16px; -} - .address-container [type="submit"] { display: block; width: 100%; diff --git a/packages/website/src/custom-components/Address.tsx b/packages/website/src/custom-components/Address.tsx index 8351bada..e0dcc0d2 100644 --- a/packages/website/src/custom-components/Address.tsx +++ b/packages/website/src/custom-components/Address.tsx @@ -132,14 +132,12 @@ const AddressInput: FC<{ rows={5} className="address-textarea" /> - {coordinates ? ( + {coordinates && ( - ) : ( -
)}