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-14 16:22:03 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
239e42dded2a3129ca6120adf1a005bab6890cf1
239e42dd
1 parent
03b34eb3
Revert "Optimize the effect of action blocks"
This reverts commit
03b34eb3
.
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
15 deletions
ReportEngine/renderers/pdf_layout_optimizer.py
ReportEngine/renderers/pdf_renderer.py
ReportEngine/renderers/pdf_layout_optimizer.py
View file @
239e42d
...
...
@@ -813,20 +813,18 @@ class PDFLayoutOptimizer:
display: inline-flex !important;
align-items: center !important;
justify-content: flex-start !important;
background: none !important;
background-color: #f3f4f6 !important;
background-image: none !important;
background: rgba(0, 0, 0, 0.04) !important;
border: none !important;
border-width: 0 !important;
border-style: none !important;
border-radius: 999px !important;
padding:
10px 18
px !important;
padding:
8px 16
px !important;
font-size: {max(cfg.page.font_size_base - 2, 11)}px !important;
color: #222 !important;
width: auto !important;
height: auto !important;
white-space: normal !important;
line-height: 1.
5
!important;
line-height: 1.
4
!important;
text-align: left !important;
box-shadow: none !important;
cursor: default !important;
...
...
@@ -1290,21 +1288,19 @@ td {{
.hero-actions button,
.hero-actions .ghost-btn {{
font-size: {max(cfg.page.font_size_base - 2, 11)}px !important;
padding:
10px 18
px !important;
padding:
8px 16
px !important;
max-width: 100
%
;
word-break: break-word;
white-space: normal;
overflow: visible;
box-sizing: border-box;
background: none !important;
background-color: #f3f4f6 !important;
background-image: none !important;
background: rgba(0, 0, 0, 0.04) !important;
border: none !important;
border-width: 0 !important;
border-style: none !important;
border-radius: 999px !important;
color: #222 !important;
line-height: 1.
5
;
line-height: 1.
4
;
display: inline-flex !important;
align-items: center;
justify-content: flex-start;
...
...
ReportEngine/renderers/pdf_renderer.py
View file @
239e42d
...
...
@@ -1142,18 +1142,16 @@ button.ghost-btn {{
display: inline-flex !important;
align-items: center !important;
justify-content: flex-start !important;
background: none !important;
background-color: #f3f4f6 !important;
background-image: none !important;
background: rgba(0, 0, 0, 0.04) !important;
border: none !important;
border-width: 0 !important;
border-style: none !important;
border-radius: 999px !important;
padding:
10px 18
px !important;
padding:
8px 16
px !important;
font-size: 12px !important;
color: #222 !important;
white-space: normal !important;
line-height: 1.
5
!important;
line-height: 1.
4
!important;
text-align: left !important;
box-shadow: none !important;
-webkit-appearance: none !important;
...
...
Please
register
or
login
to post a comment