mirror of
https://github.com/logto-io/logto.git
synced 2024-12-30 20:33:54 -05:00
fix(console): improve table styles in markdown component (#3047)
This commit is contained in:
parent
c4fdf4613a
commit
9e782318b6
1 changed files with 26 additions and 0 deletions
|
@ -61,6 +61,32 @@
|
|||
margin: _.unit(3) 0;
|
||||
}
|
||||
|
||||
table {
|
||||
border: 1px solid var(--color-divider);
|
||||
border-spacing: 0;
|
||||
width: 100%;
|
||||
table-layout: fixed;
|
||||
word-break: break-word;
|
||||
|
||||
thead {
|
||||
th {
|
||||
font: var(--font-subhead-2);
|
||||
color: var(--color-text);
|
||||
padding: _.unit(3);
|
||||
border-bottom: 1px solid var(--color-divider);
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
tbody {
|
||||
td {
|
||||
font: var(--font-body-2);
|
||||
border-bottom: 1px solid var(--color-divider);
|
||||
padding: _.unit(3);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
table + table {
|
||||
margin-top: _.unit(3);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue