kendo-ui中忽略了针对字体的字体设置

时间:2018-10-30 11:06:55

标签: css angular sass kendo-ui

我有一个kendo-ui(角度)应用程序,我所有的字体都显示为Times New Roman,看起来很恐怖。

我创建了对kendo默认scss文件的引用,并尝试覆盖$ font-family变量(如指定的here),但这似乎没有什么区别。但是,覆盖其他变量似乎确实有所不同。

我的styles.scss文件:

$font-size: 16px; //this works
$font-family: Tahoma, sans-serif; //this doesn't
@import "~@progress/kendo-theme-default/scss/all";

我的html

<kendo-textbox-container floatingLabel="Short Code">
<input kendoTextBox id="shortCode"   value="{{account.shortCode}}">
</kendo-textbox-container>

输入和标签都以Times New Roman的形式出现

0 个答案:

没有答案