ng2-smart-table - 如何在行之间插入间隙?
问题描述
我想在我的 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;
...
解决方案
利用border-collapse: separate;
推荐阅读
- azure - 如何检查端口是否打开?
- python - 合并熊猫数据框的列差异
- javascript - 在vuetify中切换组件时如何检查所有复选框?
- r - 按行名匹配并在 col 中计算
- json - 如何在oracle中解码包含十六进制字符的字符串?
- apache-kafka - Kafka - 如何将外部 jar 链接到 Kafka 的类路径?
- authorization - 使用后端模式 (BFF) 将文件从 SPA 上传到安全 API 端点
- python - Django/Django Rest 如何保存用户设备以防止每次登录时出现乏味的 2FA?
- mongodb - 如何使 Spring Boot 与 Bson 注释一起使用?
- wordpress - 是否有任何 Wordpress 网站在 Google 的 PageSpeed Insights 上得分超过 90?