Jul 24 - Update Rich-text editor to enhance table editor
This commit is contained in:
@@ -152,10 +152,13 @@ body{
|
||||
.prose p:last-child{margin-bottom:0}
|
||||
.prose strong{color:var(--ink);font-weight:600}
|
||||
.prose img{max-width:100%;height:auto;border-radius:var(--radius);border:1px solid var(--hair);margin:.6em 0}
|
||||
.prose table{border-collapse:collapse;width:100%;margin:1em 0;font-size:.95rem}
|
||||
.prose td,.prose th{border:1px solid var(--hair);padding:.5rem .65rem;text-align:left;vertical-align:top}
|
||||
/* Tables are authored with quill-table-better: column widths ride in a
|
||||
<colgroup>, and per-cell alignment/border/background as inline styles (which
|
||||
win over these defaults). table-layout:fixed honours the authored widths;
|
||||
max-width keeps a wide table from overflowing the column. */
|
||||
.prose table{border-collapse:collapse;table-layout:fixed;max-width:100%;margin:1em 0;font-size:.95rem}
|
||||
.prose td,.prose th{border:1px solid var(--hair);padding:.5rem .65rem;text-align:left;vertical-align:top;word-wrap:break-word}
|
||||
.prose th{background:rgba(0,0,0,.03);color:var(--ink);font-weight:600}
|
||||
.prose .table-wrap{overflow-x:auto}
|
||||
|
||||
.topic__link{
|
||||
align-self:flex-start;display:inline-flex;align-items:center;gap:8px;
|
||||
|
||||
Reference in New Issue
Block a user