Files
gerrit/polygerrit-ui/app/elements/change/gr-file-list
Kasper Nilsson bf685312cf Remove min-width from comments area in file list
In some cases, long filenames were being truncated early due to the
comments section being devoid of text, but having a min-width.

The file-list uses min-width on the various sections to align content
vertically in a table structure.

The rows are also displayed using flex. All of the content to the right
of the comments section has static min-widths that are usually greater
than the width of the content, meaning that any comments string will be
properly right aligned.

Removing the min-width from the comments section allows the filename to
extend into the empty space, helping avoid visibly unreasonable string
truncation.

Some padding-left is also added to ensure the sections are always
properly separated.

Bug: Issue 7649
Change-Id: I6c7feba5b60e04e9f53e411e0cb9cfeffa596042
(cherry picked from commit 84c794de12)
2017-11-08 23:10:02 +00:00
..