Java: Fixed text alignment in table header in quick doc (IDEA-210273)

This commit is contained in:
Pavel Dolgov
2019-04-17 14:52:11 +03:00
parent 66792ba79b
commit 8214f1e8cd
@@ -632,6 +632,7 @@ public class DocumentationComponent extends JPanel implements Disposable, DataPr
editorKit.getStyleSheet().addRule(".sections { padding: 0 16px 0 7px; border-spacing: 0; }");
editorKit.getStyleSheet().addRule("tr { margin: 0 0 0 0; padding: 0 0 0 0; }");
editorKit.getStyleSheet().addRule("td { margin: 2px 0 3.5px 0; padding: 0 0 0 0; }");
editorKit.getStyleSheet().addRule("th { text-align: left; }");
editorKit.getStyleSheet().addRule(".section { color: " + ColorUtil.toHtmlColor(SECTION_COLOR) + "; padding-right: 4px}");
}