skaes / logjam_core

the engine which powers the logjam application
GNU General Public License v3.0
56 stars 7 forks source link

Change the width of the action_auto_complete_url #71

Closed KrenarShatri closed 3 years ago

KrenarShatri commented 3 years ago

When I try to look for an action and the name is not shown completely and you have to hover over it and wait for it to show. This is a small annoyance that other colleagues mentioned as well.

Screenshot 2020-11-20 at 14 27 17 Screenshot 2020-11-20 at 14 28 00

Was not tested locally, just a css change in the browser

skaes commented 3 years ago

I've tried it out, but I'm not convinced. The width only changes after one has selected a long item and width of the box changes all the time.

KrenarShatri commented 3 years ago

Hmmm, that's not the desired behavior. Will try to run it locally and archive the desired result

skaes commented 3 years ago

'fit-content' alone is not good enough, unless we send the list of available actions with the page response to build the select list and drop AJAX. However, one would need at least a min-width and a max-width to have some control over worts case UI behavior.

That said, I'd much prefer if the corresponding apps would just use shorter action names. Not using ALL CAPS would be a good start.

skaes commented 3 years ago

@KrenarShatri I simply changed the work break style in the drop down list. I think that solves the problem in a better way.

KrenarShatri commented 3 years ago

@skaes thank you :)