MyBB Community Forums

Full Version: MyBB.prompt() template
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
MyBB.prompt template places the message body in 'thead' class in place of 'trow'. This looks very awkward while displaying long messages.

The template also uses unnecessary colspan.




[Image: Untitled.png]
I agree it looks very awkward in some place if not all. I think it is going to be replaced in 1.9, I hope it does if not confirmed.
This is a very simple template fix and don't know why you wanna wait for 1.9
<div class="modal">
	<div style="overflow-y: auto; max-height: 400px;">
		<table border="0" cellspacing="0" cellpadding="5" class="tborder">
			<tr>
				<td class="thead"><strong>{$lang->confirm}</strong></td>
			</tr>
			<tr>
				<td class="trow1">__message__</td>
			</tr>
			<tr>
				<td class="tfoot">
					<div style="text-align: center" class="modal_buttons">__buttons__</div>
				</td>
			</tr>
		</table>
	</div>
</div>
I agree with your suggestion.
Hi,

Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.

Follow this link to visit the issue on Github: https://github.com/mybb/mybb/issues/4196

Thanks for contributing to MyBB!

Regards,
The MyBB Group