Closed Bug 1203794 Opened 9 years ago Closed 9 years ago

Commit table overflows when window size is not "large enough"

Categories

(MozReview Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: glandium, Assigned: dminor)

Details

Attachments

(2 files)

Attached image Screenshot
My guess is it's a regression from adding the hg links on the left. See attached screenshot.
d'oh
Assignee: nobody → dminor
Status: NEW → ASSIGNED
mozreview: Commit table overflows when window size is not "large enough" (bug 1203794) r?mcote

We need to increase the minimum size of the commits table to account for the
width of the Hg column.
Attachment #8660035 - Flags: review?(mcote)
Comment on attachment 8660035 [details]
MozReview Request: mozreview: Commit table overflows when window size is not "large enough" (bug 1203794) r?mcote

https://reviewboard.mozilla.org/r/19061/#review17269

::: pylib/mozreview/mozreview/static/mozreview/css/commits.less:29
(Diff revision 1)
> -  min-width: 600px;
> +  min-width: 618px;

The cell appears to be 29 pixels wide for me. Should min-width be larger?  I'll admit that this is CSS and CSS confuses me, though.
Attachment #8660035 - Flags: review?(mcote)
https://reviewboard.mozilla.org/r/19061/#review17269

> The cell appears to be 29 pixels wide for me. Should min-width be larger?  I'll admit that this is CSS and CSS confuses me, though.

We set the min-width of the Hg column to be 18 pixels here [1] so I took the old min-width of the table and added the min-width of the new column to get 618. It fixed the bug as reported for me, but I'm also far from a CSS expert :)

[1] https://dxr.mozilla.org/hgcustom_version-control-tools/source/pylib/mozreview/mozreview/static/mozreview/css/commits.less#48
https://reviewboard.mozilla.org/r/19061/#review17269

> We set the min-width of the Hg column to be 18 pixels here [1] so I took the old min-width of the table and added the min-width of the new column to get 618. It fixed the bug as reported for me, but I'm also far from a CSS expert :)
> 
> [1] https://dxr.mozilla.org/hgcustom_version-control-tools/source/pylib/mozreview/mozreview/static/mozreview/css/commits.less#48

Okay, if it fixes the problem, good enough. :)
Comment on attachment 8660035 [details]
MozReview Request: mozreview: Commit table overflows when window size is not "large enough" (bug 1203794) r?mcote

https://reviewboard.mozilla.org/r/19061/#review17277
Attachment #8660035 - Flags: review+
Thanks!
https://hg.mozilla.org/hgcustom/version-control-tools/rev/0507d61f76d6
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: Developer Services → MozReview
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: