【问题标题】:How to set max height for text-angular component如何为文本角度组件设置最大高度
【发布时间】:2016-06-14 13:20:53
【问题描述】:

我需要为这个文本编辑器设置最大高度。所以如果它的高度大于 200 像素,我需要一个可滚动的文本编辑器。

示例在这里。我也是这样用的。

http://triangular.oxygenna.com/#/elements/textangular

【问题讨论】:

    标签: angularjs textangular


    【解决方案1】:

    在编辑器的css类中——

     max-height : 200px;
     overflow-y : scroll;
    

    【讨论】:

    • 谢谢。我已经在 textangular.css 文件中添加了它,它已经工作了。
    猜你喜欢
    • 2019-04-09
    • 2017-07-30
    • 1970-01-01
    • 1970-01-01
    • 2021-05-17
    • 2011-04-04
    • 2017-05-22
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多