web icon indicating copy to clipboard operation
web copied to clipboard

Radian/Dire damage columns should be equal width

Open dartharaknus opened this issue 10 years ago • 8 comments

The following looks bad.

opendota

dartharaknus avatar Nov 04 '16 11:11 dartharaknus

This is one of the reasons the current UI doesn't have split tables :)

howardchung avatar Nov 04 '16 11:11 howardchung

I have looked at a few pages and this table is the only problem for now. Maybe we want to change the UX for the whole widget?

dartharaknus avatar Nov 04 '16 11:11 dartharaknus

This one doesn't seem to be valid any more?

CauchyAbel-zz avatar Oct 19 '17 22:10 CauchyAbel-zz

I am not sure if it is. @dartharaknus do you have a link to a repro?

howardchung avatar Oct 20 '17 02:10 howardchung

This issue appears to still be present. screen shot 2018-09-27 at 8 22 21 pm

mobyte0 avatar Sep 28 '18 00:09 mobyte0

Yeah, we never found a good solution to this

howardchung avatar Sep 28 '18 07:09 howardchung

I was looking at this issue, what i found is that if we set the width to 1px for the DEALT column then for results where the hero count is same for both tables the columns align perfectly

image

But sometimes hero abilities can inflict damage upon allies so in those cases the hero number goes up to 9 and then the columns don't align, like

image

What i propose is if the hero count is more than 5, we can break to next line. @howardchung if you like this solution i can submit a PR for it.

One more thing, i would like to become a regular contributor to this project and also big fan of dota2. :smile:

krazi3 avatar Oct 06 '19 09:10 krazi3

I could look into it, had several issues like that which were solvable.

bdbch avatar Oct 06 '19 12:10 bdbch