Skip to content

Commit

Permalink
chore: update missed lineHeight & add min value
Browse files Browse the repository at this point in the history
  • Loading branch information
slavenai committed Sep 20, 2024
1 parent 11b7ffe commit 4c5018b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class AppComponent implements AfterViewInit {
public fontSize = '16px';

@HostBinding('style.--kendo-line-height')
public lineHeight = '1.2px';
public lineHeight = '1.2em';

@HostBinding('style.--kendo-letter-spacing-normal')
public letterSpacing = '0px';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

<kendo-formfield>
<kendo-label text="Line Height:"></kendo-label>
<kendo-numeric-textbox-buttons (valueChange)="settingChange({'lineHeight': $event})" [value]="getSetting('lineHeight')"></kendo-numeric-textbox-buttons>
<kendo-numeric-textbox-buttons [min]="1" (valueChange)="settingChange({'lineHeight': $event})" [value]="getSetting('lineHeight')"></kendo-numeric-textbox-buttons>
</kendo-formfield>

<kendo-formfield>
Expand Down

0 comments on commit 4c5018b

Please sign in to comment.