Thursday, December 10, 2020

Admin help class CSS

I'm a CSS dunce so please point me in the right direction (docs or
whatever) to figure out how to adjust table layout in Admin help_text.

The table displays properly but is too greedy with screen real-estate. I
want to reduce table padding and cell separation. I copied the following
from the view source page and is what I want to tweak with CSS ...

<div class="help">
Blah blah ... the following:
<table>
<tr><td>aluminium</td><td>bromine</td></tr>
<tr><td>zirconium</td><td>&nbsp;</td></tr>
</table>
</div>

There are actually a few more rows between bromine and zirconium but I
chopped them for brevity.

Thanks

Mike


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/df20d08c-42fb-2d43-cbe8-7edcd186b277%40dewhirst.com.au.

No comments:

Post a Comment