Skip to content

Use "text-overflow:ellipsis" to prevent overflow in header - #41

Open
dholbert wants to merge 1 commit into
greuze:developfrom
dholbert:develop
Open

Use "text-overflow:ellipsis" to prevent overflow in header#41
dholbert wants to merge 1 commit into
greuze:developfrom
dholbert:develop

Conversation

@dholbert

Copy link
Copy Markdown

If you open a folder with a really long name, then the folder-name displayed in the header will overflow off the screen, and make the app wider from the screen. (which makes it "pannable" in a way that looks broken).

Patch attached to fix this, by giving this header "text-overflow: ellipsis" (and overflow:hidden, which is required for "text-overflow" to work).

…ing out of the header and making app wider than the screen.
@dholbert

Copy link
Copy Markdown
Author

BUG SCREENSHOTS:
Note that the folder title runs off the right side of the screen here:
screenshot_overflowing_1

...and you can actually "pan" to see the rest of it (and break the UI), as shown here:
screenshot_overflowing_2

Here's what this looks like after the patch is applied, though (fixing the issue):
screenshot_ellipsis

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant