Skip to content

Commit

Permalink
Prevent unwanted scrollbars
Browse files Browse the repository at this point in the history
This commit will prevent horizontal scrollbars on tables that
are vertically organized therefore they don't need horizontal
scrollbars.
  • Loading branch information
jan-cerny committed Aug 9, 2024
1 parent 1a18bfb commit 13e7879
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ function generate_OVAL_endpoint(div, title, kv_entries, data, referenced_id, tes
div.appendChild(get_header(title));
div.appendChild(BR.cloneNode());
const table_div = DIV.cloneNode();
table_div.className = "pf-c-scroll-inner-wrapper oval-test-detail-table";
table_div.className = "oval-test-detail-table";
div.appendChild(table_div);

const table = TABLE.cloneNode();
Expand Down Expand Up @@ -889,7 +889,7 @@ function get_OVAL_test_info(test_info) {
div.appendChild(BR.cloneNode());

const table_div = DIV.cloneNode();
table_div.className = "pf-c-scroll-inner-wrapper oval-test-detail-table";
table_div.className = "oval-test-detail-table";
div.appendChild(table_div);

const table = TABLE.cloneNode();
Expand Down

0 comments on commit 13e7879

Please sign in to comment.