MyBB Community Forums

Full Version: member_referrals_popup
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Why put colspan=5 when it appears that colspan=2 is the correct choice.

The table inside of a table causes a formatting issue.

Try this HTML to improve.

<div class="modal">
	<div style="overflow-y: auto; max-height: 400px;" class="referral_modal_{$uid}">
		<table width="100%" border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
			<tr>
				<td class="thead" colspan="2"><strong>{$lang->referrals}</strong></td>
			</tr>
			<tr>
				<td class="tcat"><span class="smalltext"><strong>{$lang->username}</strong></span></td>
				<td style="text-align: right;" class="tcat"><span class="smalltext"><strong>{$lang->referral_date}</strong></span></td>
			</tr>
			{$referral_rows}
		</table>
	</div>
</div>
Github issue and then PR Smile
This has been already fixed, can be closed:
https://github.com/mybb/mybb/blob/featur....xml#L5075