Apply row styling only to meeting number and title columns
Removes row background and border styling from the attendees and time columns in the PDF renderer and the web interface. Adjusts the `tintedCellStyle` function to conditionally apply border styling based on `applyRowColor` flag.
This commit is contained in:
@@ -219,8 +219,8 @@ function buildMeetingRow(meeting: PdfMeeting, input: RenderPdfInput): string {
|
||||
const cellsLtr: TableCell[] = [
|
||||
{ html: esc(String(meeting.dailyNumber)), cls: "num-cell", style: coloredStyle },
|
||||
{ html: esc(title) + location, cls: "meeting-cell", style: coloredStyle },
|
||||
{ html: attendeesHtml, cls: "attendees-cell", style: coloredStyle },
|
||||
{ html: `<span dir="ltr">${esc(time)}</span>`, cls: "time-cell", style: coloredStyle },
|
||||
{ html: attendeesHtml, cls: "attendees-cell", style: "" },
|
||||
{ html: `<span dir="ltr">${esc(time)}</span>`, cls: "time-cell", style: "" },
|
||||
];
|
||||
|
||||
const renderCells = (cells: TableCell[], allColored: boolean): string =>
|
||||
|
||||
Reference in New Issue
Block a user