Closed Eldenroot closed 7 months ago
Width is not added for these templates, so if the thread has a long title -> it shrinks the column for date/time. Please try it on your own. Also I added "center" for date/time alignment. Anyway I can update the PR and delete the width change.
Please try it on your own.
I've just done that (i.e., without applying this PR). I can't reproduce a shrunken date/time column. When the thread title is overlong, the popup stretches to fit, although the close button "X" doesn't shift along with it. I think we can live with that minor glitch. See the image below for what I'm seeing.
Maybe you have added custom styling somewhere like a max-width
which is causing this problem on your own board? Or maybe I've forgotten about something I've done on my vanilla dev board which is fixing the problem.
It is weird... maybe because of Czech language MyBB core pack?
Oh, wait, I see that with a longer date ("Less than 1 minute ago") it actually does appear shrunken. Is this the sort of thing you mean?
Yes
Hmm. It seems that that's an extreme scenario, with no breaking whitespace in the thread's subject. When I insert regular whitespace characters, it seems fine:
And when I remove a few "words" from the title, it also looks fine:
Do you have any examples other than extreme scenarios like that of my previous post that you can share?
Almost any longer thread name
Screenshot?
@Eldenroot, sorry, but I don't think that the issue this PR solves is really an issue (aside from the alignment fix). I think browsers do a satisfactory job of managing column widths without explicit width styling, and I also think that when an explicit width is provided, oftentimes it is unnecessarily long and thus over-truncates the alert description column, causing another problem of the type it was designed to fix.
To ease your disappointment, please note that PR #323 increases the overall width of the modal popup to make room for the new "Unread only" checkbox.
I'd be happy to merge this PR if you remove the width styling and simply keep the alignment styling.
Alternatively, maybe @euantorano disagrees with me and agrees with you, in which case, the PR can be merged as-is.
@lairdshaw - reverted changes, please merge
Yes, you are righz. I missed this.
Not to worry; I made the change for you.
Thank you!
Add width tag and add align missing tag
Fixes #319