【问题标题】:How to add borders to tabulator-bulma.css?如何为 tabulator-bulma.css 添加边框?
【发布时间】:2019-04-04 03:58:01
【问题描述】:

我无法使用制表符 4.2.3 css 文件为制表符表格添加边框。

我尝试更改 -is-bordered 类,但显示的表格没有边框。我发现 Bulma 主题令人愉悦,但需要边框以使其对我的用户更友好的表格和数据输入。

下面引用的 CSS 部分:

 .tabulator.is-bordered {
      border: 1px solid black;
    }

 .tabulator.is-bordered .tabulator-header .tabulator-col {
      border-right: 1px solid black;
    }

 .tabulator.is-bordered .tabulator-tableHolder .tabulator-table 
 .tabulator-row .tabulator-cell {
      border-right: 1px solid black;
     }

我以为每个单元格和标题周围会有 1px 黑色边框,但它仍然显示为无边框。

【问题讨论】:

  • 您是否将其标记为重要?

标签: css tabulator


【解决方案1】:

is-bordered 类在 v 4.4.3 中工作。

您确定只包含tabulator_bulma.css。如果您同时包含tabulator.css,那么两者将相互对抗。

【讨论】:

    猜你喜欢
    • 2020-03-07
    • 1970-01-01
    • 1970-01-01
    • 2018-01-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-06-30
    相关资源
    最近更新 更多