Skip to content

Commit b28a88c

Browse files
zoltanhosszujorgemanrubia
authored andcommitted
Table CSS tweaks
1 parent 43fa7fb commit b28a88c

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

app/assets/stylesheets/lexxy.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
}
2525

2626
.lexxy-content__table-wrapper {
27+
margin: 0;
2728
margin-block: 1ch;
2829
overflow-x: auto;
2930
}

app/assets/stylesheets/rich-text-content.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,11 +211,12 @@
211211
}
212212

213213
/* Tables */
214-
.table-wrapper {
214+
.lexxy-content__table-wrapper {
215+
margin: 0;
215216
margin-block: 1ch;
216217
overflow-x: auto;
217218
}
218-
219+
219220
table {
220221
border-collapse: collapse;
221222
border-spacing: 0;
@@ -232,6 +233,10 @@
232233
*:last-child {
233234
margin-block-end: 0;
234235
}
236+
237+
*:not(pre, code) {
238+
word-break: normal;
239+
}
235240
}
236241

237242
th,

0 commit comments

Comments
 (0)