Skip to content

Commit

Permalink
fix(newusercup.jsx): design change for border top and minor margin ch…
Browse files Browse the repository at this point in the history
…anges

resolves #4
  • Loading branch information
junglesub committed Aug 1, 2024
1 parent 5c19f8f commit bf1b521
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/pages/NewUserCup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ export default NewUserCup;

const HeaderBanner = {
container: styled.div`
padding: 36px 54px;
padding: 36px 13px;
margin: 0 41px;
border-bottom: 1px solid #2892c2;
`,
header: styled.div`
/* choose a weapon for the challenge */
Expand Down Expand Up @@ -136,9 +138,6 @@ const CupItem = {
padding: 24px 0;
border-bottom: 1px solid #2892c2;
border-top: 1px solid #2892c2;
cursor: pointer;
${CupItemData.left} {
Expand Down Expand Up @@ -173,6 +172,10 @@ const CupItem = {
/* padding: 48px 0; */
box-sizing: border-box;
border-bottom: 1px solid #2892c2;
border-top: ${(props) => (props.$clicked ? "1px solid #2892c2" : "0")};
transition: height 0.3s ease-in-out;
overflow: hidden;
height: ${(props) => (props.$clicked ? "328px" : "0")};
Expand Down

0 comments on commit bf1b521

Please sign in to comment.