Skip to content

Commit f17ebfb

Browse files
committed
Truncate long Aliki site titles in the desktop header
On desktop, a long --title overflowed the brand column and ran under the search field. Clip it to its column with an ellipsis, as the mobile header already did. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Gxq9jGyjWoANhMZXRtssiu
1 parent 929a036 commit f17ebfb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • lib/rdoc/generator/template/aliki/css

‎lib/rdoc/generator/template/aliki/css/rdoc.css‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,9 @@ header.top-navbar .navbar-brand {
468468
font-weight: var(--font-weight-semibold);
469469
color: var(--color-text-primary);
470470
text-decoration: none;
471+
max-width: calc(100% - var(--space-6));
472+
overflow: hidden;
473+
text-overflow: ellipsis;
471474
white-space: nowrap;
472475
}
473476

@@ -597,9 +600,6 @@ header.top-navbar .navbar-search form {
597600
margin-left: 2.5rem;
598601
flex: 1;
599602
font-size: var(--font-size-lg);
600-
overflow: hidden;
601-
text-overflow: ellipsis;
602-
white-space: nowrap;
603603
}
604604

605605
.theme-toggle {

0 commit comments

Comments
 (0)