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

Edit button height

2 Answers 392 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 1
Joe asked on 03 Feb 2017, 09:48 PM
I always have a heck of a time trying to find the right CSS style to override for things... Right now, I need to change the height of the Edit button in the grid... I hate all that extra spacing and want to make it slimmer so my rows in my grid look good, without all that additional padding...  How can I do this?

2 Answers, 1 is accepted

Sort by
0
Accepted
Orlin
Telerik team
answered on 07 Feb 2017, 06:31 AM
Extension settingsExtension settings

Hello Joe,

To change the height of the Edit button in the Grid, you can adjust its padding (top and bottom) as well as its line-height. Try adding the following to your CSS:

.k-button.k-grid-edit {
    line-height: 1;
    padding-top: 0;
    padding-bottom: 0;
}


I hope this helps.

 

Regards,
Orlin
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Joe
Top achievements
Rank 1
answered on 07 Feb 2017, 02:21 PM
Thank you
Tags
Grid
Asked by
Joe
Top achievements
Rank 1
Answers by
Orlin
Telerik team
Joe
Top achievements
Rank 1
Share this question
or