Skip to content

Conversation

@printfdebugging
Copy link
Contributor

  • Resolves: #
  • Target version: main

Summary

TODO

  • ...

Checklist

  • I have run make prettier-write and formatted the code.
  • All commits have Change-Id
  • I have run tests with make check
  • I have issued make run and manually verified that everything looks okay
  • Documentation (manuals or wiki) has been updated or is not required

Signed-off-by: Sahil Gautam <[email protected]>
Change-Id: If74cc69f9efc6a9c7fe4765b4d5a61cc71b8b118
[1] reduced the navigator sidebar width from 330px to 250px, but it
didn't take into account the overflow-x (which is hidden). when the
elements were inserted dynamically (by javascript), they got scrolled
off to the left side giving an impression that they are cut off.

this patch increases the width to 266px as at that width, no overflow-x
exists on navigator-dock-wrapper.

also change the impress/statusbar_spec as with the new increased width,
the zoom is not 70% but 60% at the test's window size.

--
[1] Reduce the navigator sidebar width and change bg color for navigator
    85d604d

Signed-off-by: Sahil Gautam <[email protected]>
Change-Id: Iaf769bdce11dc27fa11af3f831f691bc2d6c9cad
@printfdebugging printfdebugging force-pushed the private/printfdebugging/navigator-comments-cut-off branch from 646f0cd to 6eea389 Compare January 5, 2026 15:44
@eszkadev
Copy link
Contributor

eszkadev commented Jan 9, 2026

what does that fix? how to test?

*/
#navigation-sidebar {
width: 250px;
width: 266px;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image

Unfortunately, adjusting the width doesn't fix the problem, as it seems to be a position problem.

Image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eszkadev for how to test

  1. open a document with comments
  2. click on the three dots on the comment (to show the comment menu) and click on "Show in Navigator"
  3. see the navigator.

The comments were scrolled off to the left before this patch (because there's a hidden element which is wider than 250px).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see , even with English I see the same result

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So do I consider this approved or do we need some changes here? Because my investigations suggested it's a width issue (the width of navigator being smaller than the widest element in it (which is hidden) leading to overflow and hence cut-off. If you inspect the navigator-doc-wrapper element, you will find that it has overflow-x hidden, unchecking that css property shows the problem

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: To Review

Development

Successfully merging this pull request may close these issues.

3 participants