This is a migrated thread and some comments may be shown as answers.

Listbox not rendered in Firefox correctly? Sizing?

3 Answers 99 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
BitShift
Top achievements
Rank 1
Veteran
BitShift asked on 02 Nov 2019, 11:50 AM

https://demos.telerik.com/aspnet-core/listbox/index

See attached screenshot

 

I'm using Firefox 70 64bit

 

 

3 Answers, 1 is accepted

Sort by
0
Tsvetomir
Telerik team
answered on 07 Nov 2019, 07:07 AM

Hi Randal,

Based on the provided information, I suspect that the issue is present only with the Bootstrap theme, is that correct? In general, for this specific theme, we do depend on the built-in widths and dimensions of the library. That is why the spacing of the buttons is greater compared to the appearance of the other themes.

The specific style that I refer to is the margin-top and the Bootstrap has set this to be 1rem. And the rem depends on the font-size of the root element of the page. It is possible for you to override this style as follows:

    <style>
      .k-listbox.k-listbox-toolbar-left .k-listbox-toolbar li+li,
      .k-listbox.k-listbox-toolbar-right .k-listbox-toolbar li+li {
        margin-top: 5px;
      }
    </style>

I hope you find this helpful.

 

Best regards,
Tsvetomir
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
BitShift
Top achievements
Rank 1
Veteran
answered on 08 Nov 2019, 03:51 PM
Its not on something im working with, its in the demo on Telerik's website.  
0
Tsvetomir
Telerik team
answered on 11 Nov 2019, 10:04 AM

Hi,

I can confirm that this behavior could be observed in our live demos of the ListBox with the Bootstrap theme applied. They are provided as-is, using the default values provided by the Bootstrap library.

If you would like to narrow down the spacing between the buttons, apply the CSS provided in my previous response.

 

Best regards,
Tsvetomir
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
ListBox
Asked by
BitShift
Top achievements
Rank 1
Veteran
Answers by
Tsvetomir
Telerik team
BitShift
Top achievements
Rank 1
Veteran
Share this question
or