From a4b0aa53340835703c86665d0406ddfeb79c0af5 Mon Sep 17 00:00:00 2001 From: abhaykumar-0285 Date: Fri, 10 Jan 2025 16:48:20 +0530 Subject: [PATCH] updating the add button and shop button --- src/Pages/cake.js | 1 + src/componets/Button.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Pages/cake.js b/src/Pages/cake.js index c170fd9..04cda94 100644 --- a/src/Pages/cake.js +++ b/src/Pages/cake.js @@ -103,6 +103,7 @@ const StyledButton = styled.button` width: 140px; height: 40px; border-radius: 12px; + margin-left: 25px border: none; background-color: rgb(255, 208, 0); display: flex; diff --git a/src/componets/Button.js b/src/componets/Button.js index 0864ba9..ddcc29a 100644 --- a/src/componets/Button.js +++ b/src/componets/Button.js @@ -4,7 +4,7 @@ import styled from 'styled-components'; const StyledButton = styled(motion.button)` padding: 0.5rem 1rem; - margin: 1rem 1rem; + margin: 1rem 30px 1rem 0; font-size: 1rem; background-color: ${props => props.primary ? '#7c2214' : '#7c2214'}; color: ${props => props.primary ? 'white' : 'white'};