【问题标题】:Modal is too large for the content模态对于内容来说太大了
【发布时间】:2020-11-26 20:41:13
【问题描述】:

我在使用模式时遇到问题。模态的尺寸太大,即太高了。我需要使模态尺寸更小。我该怎么做才能实现它?

【问题讨论】:

    标签: css asp.net-mvc modal-dialog


    【解决方案1】:

    Set height property to auto 禁用固定高度,并可选择将max-height 设置为适合您的任何值。

    {
      height: auto;
      max-height: 300px;
    }
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-06-02
      • 2019-07-29
      • 2012-07-22
      • 1970-01-01
      • 2013-06-07
      • 1970-01-01
      相关资源
      最近更新 更多