Skip to content

Commit 112daf0

Browse files
committed
Fix styles for tips in ember-data docs, fix tables in markdown
1 parent b8c6ec6 commit 112daf0

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

app/styles/app.css

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,30 @@ section.event {
187187
margin: var(--spacing-2);
188188
}
189189

190+
/* Ember data uses styled elements in markdown blocks that conflict with the
191+
default styles for blockquotes (because of ::before block that has an
192+
absolutely positioned quote mark).
193+
*/
194+
blockquote[style]::before {
195+
all: initial;
196+
}
197+
198+
/* Styles for tables (from markdown)
199+
Should probably be upstreamed to ember-styleguide
200+
*/
201+
table {
202+
text-align: left;
203+
border-collapse: collapse;
204+
}
205+
206+
table tr {
207+
border-bottom: 1px solid var(--color-gray-300);
208+
}
209+
210+
table th, table td {
211+
padding: var(--spacing-1);
212+
}
213+
190214
@media (width >= 845px) {
191215
.es-header {
192216
padding: 0 var(--spacing-4);

0 commit comments

Comments
 (0)