【问题标题】:How to insert gaps between rows?如何在行之间插入间隙?
【发布时间】:2019-09-12 16:25:03
【问题描述】:

我想在我的 ng2-smart-table 中的行之间有间隙, border-spacing 不起作用。

我尝试通过以下回答使用ng-deep https://github.com/akveo/ng2-smart-table/issues/504#issuecomment-395478716 但它不起作用。 其他样式有效,但不是这个。

::ng-deep{
  .dark-table { // set a selector
      display: table;
      border-collapse: collapse;
      border-spacing: 6px;
      border-color: red;
      ...

【问题讨论】:

    标签: ng2-smart-table


    【解决方案1】:

    使用border-collapse: separate;

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-11-18
      • 1970-01-01
      • 2012-07-18
      • 2015-10-15
      相关资源
      最近更新 更多