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-13 20:17:12 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4c1d1f699a28090a292bd48a8673090352088bdc
4c1d1f69
1 parent
424ed0ce
Determine the style of the actions block
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
15 deletions
ReportEngine/renderers/pdf_layout_optimizer.py
ReportEngine/renderers/pdf_renderer.py
ReportEngine/renderers/pdf_layout_optimizer.py
View file @
4c1d1f6
...
...
@@ -813,8 +813,10 @@ class PDFLayoutOptimizer:
display: inline-flex !important;
align-items: center !important;
justify-content: flex-start !important;
background: transparent !important;
border: 1px solid rgba(0, 0, 0, 0.22) !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: 8px 16px !important;
font-size: {max(cfg.page.font_size_base - 2, 11)}px !important;
...
...
@@ -1292,8 +1294,10 @@ td {{
white-space: normal;
overflow: visible;
box-sizing: border-box;
background: transparent !important;
border: 1px solid rgba(0, 0, 0, 0.22) !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.4;
...
...
ReportEngine/renderers/pdf_renderer.py
View file @
4c1d1f6
...
...
@@ -1127,8 +1127,7 @@ body {{
background: linear-gradient(135deg, rgba(0,123,255,0.1), rgba(23,162,184,0.1)) !important;
}}
/* ========== 覆盖 hero-actions 按钮样式(解决双层边框问题) ========== */
/* 完全重置 button 和 ghost-btn 样式,避免浏览器默认样式干扰 */
/* ========== 覆盖 hero-actions 按钮样式(无边框样式) ========== */
.hero-actions {{
display: flex !important;
flex-wrap: wrap !important;
...
...
@@ -1143,33 +1142,28 @@ button.ghost-btn {{
display: inline-flex !important;
align-items: center !important;
justify-content: flex-start !important;
background: transparent !important;
border: 1px solid rgba(0, 0, 0, 0.22) !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: 8px 16px !important;
font-size: 12px !important;
color: #222 !important;
width: auto !important;
height: auto !important;
white-space: normal !important;
line-height: 1.4 !important;
text-align: left !important;
box-shadow: none !important;
cursor: default !important;
-webkit-appearance: none !important;
-moz-appearance: none !important;
appearance: none !important;
outline: none !important;
outline-width: 0 !important;
outline-style: none !important;
word-break: break-word !important;
max-width: 100
%
!important;
box-sizing: border-box !important;
margin: 0 !important;
font-family: inherit !important;
text-decoration: none !important;
border-width: 1px !important;
border-style: solid !important;
}}
/* SVG图表容器样式 */
...
...
Please
register
or
login
to post a comment