Re: [Tiki-devel] The default look of tables

Volker Wysk <post-hhF2Jplw28UoZk/[email protected]> Sat, 04 May 2024 20:32:30 +0200
Newsgroups gmane.comp.cms.tiki.devel
Message-ID <[email protected]>
Am Sonntag, dem 05.05.2024 um 02:11 +0900 schrieb Gary Cunningham-Lee:
> Hi again,

Hi!

> To give all tables in the Tiki interface (which currently have the
> Bootstrap class ".table") borders like the ones with class .table-bordered
> (see https://getbootstrap.com/docs/5.3/content/tables/#bordered-tables),
> this CSS can be added to L&F admin custom CSS:
> .table > :not(caption) > * {
>     border-width: var(--bs-border-width) 0;
> }
> .table > :not(caption) > * > * {
>     border-width: 0 var(--bs-border-width);
> }
> 
>  These are the Bootstrap .table-bordered properties.

How do you specify that only as much horizontal space as needed should be
taken by the table? I have "width: auto;" as a property of "table", but that
doesn't work...

Bye,
Volker


_______________________________________________
TikiWiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel