0
Fork 0
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:
Charles Zhao 2023-02-02 21:58:32 +08:00 committed by GitHub
parent c4fdf4613a
commit 9e782318b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,6 +61,32 @@
margin: _.unit(3) 0; 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 { table + table {
margin-top: _.unit(3); margin-top: _.unit(3);
} }