Bug 797502 - (RTL) - Right edge of the reports are locked

Running gnucash in Hebrew, the right edge of the reports are locked
while scrolling down and do not scroll with the rest of the report.

Adding a left and right margin of 8px fixes this and I think looks
better as text is not immediately against window edge.

Keeping top and bottom margin at 0px prevents the scrollbar from
appearing in charts.
This commit is contained in:
Robert Fewell 2021-12-11 12:22:01 +00:00
parent f363e1769d
commit c48a887c92
2 changed files with 5 additions and 2 deletions

View File

@ -177,7 +177,7 @@
"body, p, table, tr, td { vertical-align: top; " text-cell-info " }\n"
"tr.alternate-row { background: " alternate-row-color " }\n"
"tr { page-break-inside: avoid !important;}\n"
"html, body { height: 100vh; margin: 0; }\n"
"html, body { height: 100vh; margin-top: 0px; margin-bottom: 0px; margin-left: 8px; margin-right: 8px; }\n"
"td, th { border-color: grey }\n"
"th.column-heading-left { text-align: left; " number-header-info " }\n"
"th.column-heading-center { text-align: center; " number-header-info " }\n"

View File

@ -38,7 +38,10 @@
html, body {
height: 100vh;
margin: 0;
margin-top: 0px;
margin-bottom: 0px;
margin-left: 8px;
margin-right: 8px;
font-family: \"Noto Sans\", Sans-Serif;
font-size: 10pt;
}