Skip to content

Commit 47c1ec6

Browse files
authored
Add border-radius to button for consistency with flutter.dev (#11664)
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" />
1 parent 18e8ab8 commit 47c1ec6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/_sass/components/_button.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,12 @@ a, button {
3030
width: fit-content;
3131
white-space: nowrap;
3232
outline-offset: 2px;
33-
33+
border-radius: 24px;
3434
font-weight: 500;
3535
padding: 0.5rem 1rem;
3636
background-color: $site-color-primary;
3737
color: $site-color-white;
3838
text-decoration: none;
39-
border-radius: 0;
4039
cursor: pointer;
4140
user-select: none;
4241

0 commit comments

Comments
 (0)