Skip to content

Commit 4c5ffac

Browse files
authored
RSDEV-302 Shrink size of generated PyRAT table (#76)
This change reduces to the font size of the generated PyRAT table that is inserted into the rich text fields of documents by the PyRAT integration. This is done to reduced the probability of horizontal scrolling being required most of the time.
1 parent 29c6042 commit 4c5ffac

File tree

1 file changed

+1
-0
lines changed
  • src/main/webapp/ui/src/tinyMCE/pyrat

1 file changed

+1
-0
lines changed

src/main/webapp/ui/src/tinyMCE/pyrat/Pyrat.js

+1
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,7 @@ parent.tinymce.activeEditor.on("pyrat-insert", function () {
477477
function createTinyMceTable() {
478478
let pyratTable = document.createElement("table");
479479
pyratTable.setAttribute("data-tableSource", "pyrat");
480+
pyratTable.style = "font-size: 0.7em";
480481

481482
let tableHeader = document.createElement("tr");
482483
VISIBLE_HEADER_CELLS.forEach((cell) => {

0 commit comments

Comments
 (0)