Conversation
|
There was a problem hiding this comment.
Pull request overview
This PR applies small UI refinements to improve dark-mode visuals and prevent sidebar/menu text from wrapping in narrow layouts.
Changes:
- Adjusted route info header markup to use a non-wrapping flex layout with truncation for the update date.
- Tweaked dark-mode gradients by separating
#menustyling from the general dark background. - Fixed “GitHub” capitalization and made the sidebar title truncate instead of wrap.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| res/huroutes.js | Uses Bootstrap flex + truncation utilities to keep route date/stars on one line in narrow sidebar widths. |
| res/huroutes.css | Refines dark-mode appearance by giving #menu its own, subtler gradient background. |
| index.html | Corrects “GitHub” title capitalization and prevents the sidebar header title from wrapping via truncation. |
Comments suppressed due to low confidence (1)
res/huroutes.js:606
- The variable name
starsOuttercontains a typo (double “t”). Since this line was touched, consider renaming it (and its subsequent uses in this block) tostarsOuterto keep naming clear and consistent.
let starsOutter = $('<span class="stars-outer flex-shrink-0" title="{0}"/>'.format(
langDict.rating
)).initTooltip();
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
f007df5 to
aeda603
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
aeda603 to
63566f2
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
* The menu gradient is more subtle in dark mode * When the sidebar is narrow, the title text and route date/stars don't wrap any more * GitHub is properly formatted
63566f2 to
54a4062
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Notes for reviewer: