We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 872a578 commit 4b94fbbCopy full SHA for 4b94fbb
.changeset/hot-parrots-shave.md
@@ -0,0 +1,5 @@
1
+---
2
+'@primer/css': patch
3
4
+
5
+Remove trailing margin from last-child within a markdown table cell
src/markdown/tables.scss
@@ -1,5 +1,5 @@
// Needs refactoring
-// stylelint-disable selector-max-type
+// stylelint-disable selector-max-type, selector-max-compound-selectors
.markdown-body {
// Tables
table {
@@ -20,6 +20,12 @@
20
border: $border-width $border-style var(--color-border-default);
21
}
22
23
+ td {
24
+ > :last-child {
25
+ margin-bottom: 0;
26
+ }
27
28
29
tr {
30
background-color: var(--color-canvas-default);
31
border-top: $border-width $border-style var(--color-border-muted);
0 commit comments