Toggle navigation
Toggle navigation
This project
Loading...
Sign in
万朱浩
/
Venue-Ops
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
马一丁
2025-12-15 13:47:29 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
728293b80cdb44c57ad0a8cfa2faa29b937c9818
728293b8
1 parent
33107c21
Optimize text box borders
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
ReportEngine/renderers/pdf_layout_optimizer.py
ReportEngine/renderers/pdf_renderer.py
ReportEngine/renderers/pdf_layout_optimizer.py
View file @
728293b
...
...
@@ -820,7 +820,7 @@ class PDFLayoutOptimizer:
border-width: 0 !important;
border-style: none !important;
border-radius: 999px !important;
padding:
6px 12
px !important;
padding:
5px 10
px !important;
font-size: {max(cfg.page.font_size_base - 2, 11)}px !important;
color: #222 !important;
width: auto !important;
...
...
@@ -1290,7 +1290,7 @@ td {{
.hero-actions button,
.hero-actions .ghost-btn {{
font-size: {max(cfg.page.font_size_base - 2, 11)}px !important;
padding:
6px 12
px !important;
padding:
5px 10
px !important;
max-width: 100
%
;
word-break: break-word;
white-space: normal;
...
...
ReportEngine/renderers/pdf_renderer.py
View file @
728293b
...
...
@@ -1149,7 +1149,7 @@ button.ghost-btn {{
border-width: 0 !important;
border-style: none !important;
border-radius: 999px !important;
padding:
6px 12
px !important;
padding:
5px 10
px !important;
font-size: 12px !important;
color: #222 !important;
white-space: normal !important;
...
...
Please
register
or
login
to post a comment