Skip to content

Commit 5876efb

Browse files
authored
Fix: Smaller Default Font Size (PanJiaChen#2805)
* Fix: Smaller Default Font Size * Fix: Smaller Default Font Size
1 parent 21e5379 commit 5876efb

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/components/ADempiere/Report/Data/DataCells.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ export default defineComponent({
174174
fontStyle += `color: ${font.color} !important;`
175175
}
176176
if (isEmptyValue(font.font_code)) {
177-
fontStyle += 'font-size: 10px !important'
177+
fontStyle += 'font-size: 11px !important'
178178
}
179179
if (!isEmptyValue(font.font_code)) {
180180
const lastIndex = font.font_code.lastIndexOf('-')

src/components/ADempiere/Report/Data/DataReport.vue

+4-1
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ export default defineComponent({
382382
if (!isEmptyValue(children) || row.isTopLevel) {
383383
return 'success-row'
384384
}
385-
return ''
385+
return 'children-row'
386386
}
387387

388388
function getRowClassName({ row, rowIndex }) {
@@ -652,6 +652,9 @@ export default defineComponent({
652652
font-weight: 700;
653653
background: #ecf5ff;
654654
}
655+
.el-table .children-row .cell .el-dropdown {
656+
color: #000
657+
}
655658
.reportInfo .el-popover {
656659
width: 850px !important;
657660
}

0 commit comments

Comments
 (0)