Repository navigation
London | 26-ITP-Sep | Shirin Panahian | Sprint 3| Build a quote generator app - #1561
shirinpanahian wants to merge 3 commits into
Conversation
This comment has been minimized.
This comment has been minimized.
| padding: 30px; | ||
| display: flex; | ||
| flex-direction: column; | ||
| width: 600px; |
There was a problem hiding this comment.
The card has a 600px content width plus 60px of horizontal padding. What happens to the layout on a phone-sized viewport?
To "like" or "dislike" this comment, please follow this link
There was a problem hiding this comment.
I've fixed the responsiveness issue by changing the card's width to 100% and adding a max-width: 600px. I've also used box-sizing: border-box to ensure the padding is included in the total width. This allows the card to fit smaller screens without causing horizontal overflow.
|
The CYF AI review has left comments. It will only review a PR one time. When you have addressed these comments, please request review again and a volunteer will take a look. |
|
Well done @shirinpanahian. One more thing before I can mark as completed, the instructions says on load of the page an advice should be generated but that's not the case with your code. Add that to your code cleanly and I will mark as completed. |

Learners, PR Template
Self checklist
Task code
CYF-1096
Changelist