Skip to content

Commit 85ff881

Browse files
add condensed table style
1 parent 161874b commit 85ff881

File tree

1 file changed

+28
-4
lines changed

1 file changed

+28
-4
lines changed

resources/web/style/table.pcss

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,16 @@
4545
padding-left: 0.15em;
4646
}
4747
}
48-
tr:last-child {
49-
th, td {
50-
border: none;
48+
49+
tr {
50+
&:last-child {
51+
th, td {
52+
border: none;
53+
}
5154
}
5255
}
5356

54-
.monospaced {
57+
.monospaced {
5558
td p, th {
5659
font-family: Consolas, Menlo, "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Lucida Console", monospace;
5760
}
@@ -93,4 +96,25 @@
9396
vertical-align: middle;
9497
}
9598
}
99+
100+
/** Used in integration docs */
101+
.condensed-table {
102+
table {
103+
tbody {
104+
tr {
105+
border-bottom: 1px solid #e5eae4;
106+
&:first-child {
107+
border-top: 1px solid #e5eae4!important;
108+
}
109+
td {
110+
vertical-align: top;
111+
padding: 0.6em;
112+
}
113+
p {
114+
margin-bottom: 0px!important;
115+
}
116+
}
117+
}
118+
}
119+
}
96120
}

0 commit comments

Comments
 (0)