Currently whenever a game has a long name, the site's backend replaces the ending with an ellipsis (...) as in:
https://i.imgur.com/xFEpJ12.png

It would be ideal if instead of replacing the end in the site's backend it instead used the text-overflow property.
https://developer.mozilla.org/en-US/docs/Web/CSS/text-overflow

It looks like adding some properties to giveaway__heading__name should do the trick:
max-width:325px;overflow:hidden;text-overflow:ellipsis

If that's not possible, at least add the full title as a data- tag somewhere.

5 days ago*

Comment has been collapsed.

If you hover, you will see it all

5 days ago
Permalink

Comment has been collapsed.

I'm not seeing that. I don't see the full title anywhere in the HTML. Hover what?

5 days ago
Permalink

Comment has been collapsed.

When I hover my mouse over any link (using Chrome), the url is displayed on the bottom left of my screen just above the taskbar.

5 days ago
Permalink

Comment has been collapsed.

Is the problem that you want to copy the text or why cant you just read the whole title in the image or just hover on the link like JustDucky mentioned?

5 days ago
Permalink

Comment has been collapsed.

I've written a UserScript that needs access to the name of the game.

5 days ago
Permalink

Comment has been collapsed.

I have nothing to say that could solve your problem because I dont know how to code. But I doubt sites usally make changes just so other users scripts can work and its the users that have to adapt their scripts so it will work as intended.

Im also sure if something would change with the site it would f*ck up for other people scripts that they have created that involves giveaways.

5 days ago
Permalink

Comment has been collapsed.

I think it would be easiest to just either make script open giveaway and copy title, or make it access Steam page to download title (you have appID of the game in header HTML).

Don't think change like that will be made just to allow one userscript to work without workaround. Especially that it could break other scripts or how site works on low resolution screens, and visual changes in general have very low priority. Just look how native dark theme works :P We don't even have it

4 days ago
Permalink

Comment has been collapsed.

Sign in through Steam to add a comment.