From b47a3e0ce68b8b1abc50c9e2ac023923f40b4d10 Mon Sep 17 00:00:00 2001 From: Juliano Costa Date: Tue, 3 Jan 2023 10:54:56 +0100 Subject: [PATCH] Fix minor FE bugs --- .dockerignore | 14 +++++++++----- .../components/CartDropdown/CartDropdown.styled.ts | 1 - .../components/CartDropdown/CartDropdown.tsx | 2 +- src/frontend/pages/_document.tsx | 1 + 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.dockerignore b/.dockerignore index 58b0e58519..4f16b6f65f 100644 --- a/.dockerignore +++ b/.dockerignore @@ -2,11 +2,6 @@ docs internal -################################### -# shippingservice -./src/shippingservice/target -################################### - ################################### # currencyservice ./src/currencyservice/client.js @@ -22,6 +17,15 @@ internal ./src/featureflagservice/tmp/ ./src/featureflagservice/.elixir_ls +################################### +# frontend +./src/frontend/node_modules/ + +################################### +# shippingservice +./src/shippingservice/target +################################### + # Mix artifacts ./src/featureflagservice/_build/ ./src/featureflagservice/deps/ diff --git a/src/frontend/components/CartDropdown/CartDropdown.styled.ts b/src/frontend/components/CartDropdown/CartDropdown.styled.ts index f79e122faf..8a9c954077 100644 --- a/src/frontend/components/CartDropdown/CartDropdown.styled.ts +++ b/src/frontend/components/CartDropdown/CartDropdown.styled.ts @@ -9,7 +9,6 @@ export const CartDropdown = styled.div` width: 100%; height: 100%; max-height: 100%; - overflow-y: scroll; padding: 25px; display: flex; flex-direction: column; diff --git a/src/frontend/components/CartDropdown/CartDropdown.tsx b/src/frontend/components/CartDropdown/CartDropdown.tsx index 2e05827ae6..56ad7aa4f1 100644 --- a/src/frontend/components/CartDropdown/CartDropdown.tsx +++ b/src/frontend/components/CartDropdown/CartDropdown.tsx @@ -53,7 +53,7 @@ const CartDropdown = ({ productList, isOpen, onClose }: IProps) => { - Go to Shipping Cart + Go to Shopping Cart ) : null; diff --git a/src/frontend/pages/_document.tsx b/src/frontend/pages/_document.tsx index ad39d60dfe..6f26e476dd 100644 --- a/src/frontend/pages/_document.tsx +++ b/src/frontend/pages/_document.tsx @@ -43,6 +43,7 @@ export default class MyDocument extends Document<{ envString: string }> { href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap" rel="stylesheet" /> + OTel demo