Skip to content

Commit

Permalink
Add css style for table inside an Trumbowyg editor (#14857)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeAlhayek authored Dec 7, 2023
1 parent 57efd47 commit bb80a80
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,10 @@
color: var(--bs-body-color);
fill: var(--bs-body-color);
}

[dir] .trumbowyg-box .trumbowyg-editor th, [dir] .trumbowyg-box .trumbowyg-editor td {
border-width: var(--bs-border-width, 1px);
border-style: var(--bs-border-style, solid);
border-color: var(--bs-border-color, #dee2e6);
padding: 0.5rem;
}
7 changes: 7 additions & 0 deletions src/OrchardCore.Themes/TheAdmin/wwwroot/css/TheAdmin.css
Original file line number Diff line number Diff line change
Expand Up @@ -8649,6 +8649,13 @@ ul.ui-sortable:not(:has(> li)) {
fill: var(--bs-body-color);
}

[dir] .trumbowyg-box .trumbowyg-editor th, [dir] .trumbowyg-box .trumbowyg-editor td {
border-width: var(--bs-border-width, 1px);
border-style: var(--bs-border-style, solid);
border-color: var(--bs-border-color, #dee2e6);
padding: 0.5rem;
}

span.field-validation-error {
width: 100%;
}
Expand Down

Large diffs are not rendered by default.

0 comments on commit bb80a80

Please sign in to comment.