refactor editor
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
.tp-content-theme() {
|
||||
color: var(--td-text-color-primary);
|
||||
line-height: 1.6;
|
||||
|
||||
p {
|
||||
margin: 0 0 .75rem;
|
||||
}
|
||||
|
||||
p:empty:before {
|
||||
content: "\00a0";
|
||||
}
|
||||
|
||||
ul,
|
||||
ol {
|
||||
margin: 0 0 .75rem;
|
||||
padding-left: 1.25rem;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
margin: .75rem 0;
|
||||
table-layout: fixed;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
th,
|
||||
td {
|
||||
border: 1px solid var(--td-component-border);
|
||||
}
|
||||
|
||||
th {
|
||||
background: var(--td-bg-color-secondarycontainer);
|
||||
}
|
||||
|
||||
img,
|
||||
video,
|
||||
iframe {
|
||||
margin: 0 auto;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.tp-content-body {
|
||||
.tp-content-theme();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user