Skip to content

Commit

Permalink
Add border-radius to button for consistency with flutter.dev (#11664)
Browse files Browse the repository at this point in the history
In the top navbar, the 'Get Started' button has sharp angles. Instead, we should make it rounded by adding a border radius.

Fixes #11622 

---

Now looks better with round shape 😊

<img width="143" alt="image"
src="https://github.com/user-attachments/assets/497921b6-df79-47ba-bfb7-5a520b09cab5"
/>
  • Loading branch information
zalabhavy authored Feb 3, 2025
1 parent 18e8ab8 commit 47c1ec6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/_sass/components/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,12 @@ a, button {
width: fit-content;
white-space: nowrap;
outline-offset: 2px;

border-radius: 24px;
font-weight: 500;
padding: 0.5rem 1rem;
background-color: $site-color-primary;
color: $site-color-white;
text-decoration: none;
border-radius: 0;
cursor: pointer;
user-select: none;

Expand Down

0 comments on commit 47c1ec6

Please sign in to comment.