Re: [Tiki-devel] The default look of tables
Gary Cunningham-Lee <gary_c-39LOpZwlz1/[email protected]> Mon, 6 May 2024 13:22:45 +0900
| Newsgroups | gmane.comp.cms.tiki.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
To override the width=100% property that Bootstrap (and Tiki) assigns to
tables, you can add a custom CSS rule
.table { width: auto; }
-- Gary
On 5/5/2024 3:32 AM, Volker Wysk wrote:
> 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
_______________________________________________
TikiWiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel