Repository navigation
Conversation
|
You can preview c349f7e at https://pr38750-c349f7e.ngbuilds.io/. |
gkalpak
left a comment
There was a problem hiding this comment.
I like some of the changes while not a big fan of others, but I think this is a positive change overall 😃
Besides the comments I left, I also noticed some other issues:
-
The commit message mentions
Vertical align headerin glink icons (on hover). Apart from the obvious typo, I could find which changes this line refers to. Could it be that this is not included in this PR (or did I miss it)? -
Now that headings are bigger, the current style of
vertical-align: text-topfor heading links doesn't work well for me.middleworks much better. How doesmiddlelook for you? -
Now that the font is bigger, it causes long API symbol names to be truncated:

There was a problem hiding this comment.
- Use
.sidenav-contentinstead. - styles/1-layouts/_content-layout.scss#L6 looks like a more suitable place for this style, no?
There was a problem hiding this comment.
This class is not being used anywhere afaict.
Did I miss something? (If not, please remove.)
There was a problem hiding this comment.
| border-right: 1px splid $lightgray; | |
| border-right: 1px solid $lightgray; |
There was a problem hiding this comment.
I think it is better to nest the special styles inside the h2:before block:
| } | |
| } | |
| aio-shell { | |
| &.page-resources, &.page-events, &.page-features, &.page-presskit, &.page-contribute, &.page-about, &.page-api { | |
| main h2:before { | |
| display: none; | |
| border: 0; | |
| visibility: hidden; | |
| } | |
| } | |
| .page-resources &, .page-events &, .page-features &, .page-presskit &, .page-contribute &, .page-about &, .page-api & { | |
| display: none; | |
| border: 0; | |
| visibility: hidden; | |
| } | |
| } |
There was a problem hiding this comment.
Why is this needed? Isn't setting the .sidenav-content max-width enough?
- Sidenav background to better distinguish from content - Header styles updated - General typography styles updated (removed letter-spacing, increased font size and updated line height) - Prominent h2 styles with line to segment important sections more easily - Vertical align headerin glink icons (on hover) - Prominent link hover underline (more accessible) - Max width on content paragraph text to improve legibility (best practices) - Centered layout for better legibility and focus on content - API pages override to maintain current styles
Splaktar
left a comment
There was a problem hiding this comment.
I like the change to make the docs sections made for reading limited to 800px of width. Very long lines of text are harder for people to read.
However I think that pages like the Resource Listing, Events, and Presskit that are more for displaying a different kind of content should be allowed to be wider and use a different layout, which they do. I think that the "About" page should be added to this set of non-800px wide pages:
Before
After
It takes a whole lot of vertical scrolling for people to browse through these 3 at a time.
The guide/cheatsheet should also not be restricted to 800px in width as this causes the code examples to be hard to read and adds quite a few horizontal scroll bars where content gets hidden.
The "Introductions to the Angular Docs" page needs some layout tweaks to work with this new layout (and has needed them for some time on smaller devices):
Other than that, I really like these changes and think that they make the docs a lot more comfortable to read on desktop devices.
c349f7e to
396cdf2
Compare
|
Superceded by #40427. Let's continue the discussion there. |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |








As discussed with @gkalpak - splitting existing PR #36045 into smaller bit sized PRs
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
N/A
Issue Number: N/A
What is the new behavior?
UI updates with a focus on improved legibility
Does this PR introduce a breaking change?
Other information