PR firstline overflow

Thomas De Schampheleire patrickdepinguin at gmail.com
Wed Feb 21 12:45:38 UTC 2018


2018-02-21 11:31 GMT+01:00 Mads Kiilerich <mads at kiilerich.com>:
> On 02/21/2018 10:15 AM, Thomas De Schampheleire wrote:
>>
>> Hi Dominik,
>>
>> Just noticed a small issue on a pullrequest page in Kallithea: in the
>> list of commits, the first line of the commit message may overflow to
>> the right, over the labels with branch name, number of comments, etc.
>> (extra_container).
>
>
> I'm probably to blame for that.
>
> I pushed a fix in
> https://kallithea-scm.org/repos/kallithea/changeset/ba8781f3f2c253ee031ba958dc6a4c0a9613a88f
> .
>

Thanks, I'll take it in soon.

>
>> Is there a particular reason for not making the extra_container an
>> actual column?
>
>
> How wide should that column be?
>
> The width of the content varies a lot - just like commit messages do. Commit
> messages must be truncated anyway, so having them in the same column seems
> like a good idea.

Ok, sounds fair.

>
> (Now, I think it would be good to also have the "expand" button move from a
> separate column to be shown as the first label ...)

but that would mean that they would no longer be vertically aligned
across commits. I think that would make it a bit less user-friendly.

>
>> In the screenshot, note also that the bottom line of the 'draft' label
>> is not visible, because it overflows to the bottom and overflow is
>> hidden on the table cells. I think that the label should be slightly
>> smaller or the rows slightly higher, to fix that.
>
>
> Yes, that needs a bit of tweaking across browsers. Perhaps less padding on
> the td and margins on the content. And perhaps also related to the
> positioning of avatars and checkboxes and how they influence spacing.
>
> /Mads


More information about the kallithea-general mailing list