DropdownList Grouping with Bootstrap 5 Theme issues

When using the Bootstrap 5 theme with the dropdown list and grouping, the categories used for grouping are not highlighted and the items within the groups are not indented. This can be seen on the Syncfusion Blazor demo for dropdownlist by changing the themes.


How can I get same hightlighting and indentation with Bootstrap 5?



3 Replies

PM Ponmani Murugaiyan Syncfusion Team March 28, 2022 10:47 AM UTC

Hi Carl, 

Query: The categories used for grouping are not highlighted and the items within the groups are not indented. 
 
We suggest you to override the below styles to achieve your requirement. Please find the attached sample below for reference. 

<style> 
    .e-dropdownbase.e-dd-group .e-list-item { 
        text-indent: 15px; 
    } 
    .e-dropdownbase .e-list-group-item, .e-fixed-head { 
        color: blue; 
    } 
</style> 

 

Regards, 
Ponmani M 



CA Carl March 28, 2022 12:33 PM UTC

Thank you this did what I needed.

Is there documentation available for all components CSS somewhere?  I know that some components contain some CSS documentation but not all components.  I couldn't find any documentation regarding the dropdownlist for example.  Having the documentation would be very helpful,

Thanks again for your help.



PM Ponmani Murugaiyan Syncfusion Team March 30, 2022 11:52 AM UTC

Hi Carl,


We are glad to hear that the issue has been resolved. We will include the CSS documentation for all components soon in our end.


Regards,

Ponmani M


Loader.
Up arrow icon