Ionic 5 警报按钮全部大写
Ionic 5 Alert buttons are all capital
我正在使用 Ionic 5,并且像 md
模式下的所有 Ionic 框架一样,所有按钮文本都是大写的。所以我在 global.scss
文件中维护了以下内容。
ion-button{
text-transform:none!important;
}
它适用于普通按钮,但警报按钮仍然全部为大写。如何设置 警报按钮的全局参数?
对于 Ionic Alert 按钮使用 .alert-button
或 .alert-button-inner
inside .alert-wrapper
class.
.alert-wrapper {
.alert-button {
color: red;
text-transform: none;
}
}
global.scss
我正在使用 Ionic 5,并且像 md
模式下的所有 Ionic 框架一样,所有按钮文本都是大写的。所以我在 global.scss
文件中维护了以下内容。
ion-button{
text-transform:none!important;
}
它适用于普通按钮,但警报按钮仍然全部为大写。如何设置 警报按钮的全局参数?
对于 Ionic Alert 按钮使用 .alert-button
或 .alert-button-inner
inside .alert-wrapper
class.
.alert-wrapper {
.alert-button {
color: red;
text-transform: none;
}
}
global.scss