【发布时间】:2017-09-10 09:14:06
【问题描述】:
我正在尝试将名称列表显示到离子选择中。但是当显示名称时,它们太大而无法显示。 Here there is an image that show the situation
有没有办法使用一些管道(如 br)或一些 CSS 来显示整个名称?
我尝试了一些选项,但没有一个令人满意。
任何建议将不胜感激。 谢谢!
【问题讨论】:
标签: javascript ionic-framework css-selectors pipe
我正在尝试将名称列表显示到离子选择中。但是当显示名称时,它们太大而无法显示。 Here there is an image that show the situation
有没有办法使用一些管道(如 br)或一些 CSS 来显示整个名称?
我尝试了一些选项,但没有一个令人满意。
任何建议将不胜感激。 谢谢!
【问题讨论】:
标签: javascript ionic-framework css-selectors pipe
.alert-md .alert-radio-label{
white-space: inherit !important;
}
将空格更改为继承或初始。
将上述代码添加到 app.scss 而不是 your-component.scss
【讨论】: