Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Merge pull request #296 from ckeditor/i/6314
Browse files Browse the repository at this point in the history
Fix: Table border should be present in content styles (should use `.ck-content`). Closes ckeditor/ckeditor5#6314.
  • Loading branch information
Reinmar authored Apr 3, 2020
2 parents a031c9b + ba16c4a commit 0e0e6fe
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion theme/table.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@
& th {
min-width: 2em;
padding: .4em;
border-color: hsl(0, 0%, 75%);

/* The border is inherited from .ck-editor__nested-editable styles, so theoretically it's not necessary here.
However, the border is a content style, so it should use .ck-content (so it works outside the editor).
Hence, the duplication. See https://github.com/ckeditor/ckeditor5/issues/6314 */
border: 1px solid hsl(0, 0%, 75%);
}

& th {
Expand Down

0 comments on commit 0e0e6fe

Please sign in to comment.