Skip to content

Commit 810e191

Browse files
committed
Fix mobile menu button text wrapping
Remove fixed width constraint on Start free/Sign in buttons in mobile menu and add white-space: nowrap to prevent text from breaking onto multiple lines.
1 parent 8709499 commit 810e191

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/css/custom.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -897,8 +897,8 @@ html[data-theme="dark"] .sign-in-button {
897897
display: none;
898898
}
899899

900-
.github-sm .github-btn,
901-
.github-sm .github-star-placeholder {
900+
.github-sm .github-btn,
901+
.github-sm .github-star-placeholder {
902902
font-size: 1rem;
903903
}
904904

@@ -913,9 +913,9 @@ html[data-theme="dark"] .sign-in-button {
913913
}
914914

915915
.start-free-button, .sign-in-button {
916-
display: flex;
917-
width: 100px;
916+
display: inline-flex;
918917
justify-content: center;
918+
white-space: nowrap;
919919
}
920920
}
921921
/* Start - Card styling for resources and careers page */

0 commit comments

Comments
 (0)