Skip to content
Snippets Groups Projects
Commit fc807f25 authored by rhenck's avatar rhenck
Browse files

MathTable: Color all helper-rows

Before it was just the bottom helper row.
parent 696b5848
No related branches found
No related tags found
No related merge requests found
Pipeline #53170 passed
......@@ -34,9 +34,7 @@ import { ValueChangeElement } from 'common/models/elements/element';
[style.height.px]="row.cells.length && row.isHelperRow ? elementModel.styling.fontSize * 1.5 :
elementModel.styling.fontSize * 2"
[style.font-size]="row.cells.length && row.isHelperRow && '70%'"
[style.background-color]="index === tableModel.length - 2 &&
elementModel.operation === 'variable' &&
elementModel.variableLayoutOptions.showResultRow ?
[style.background-color]="row.isHelperRow ?
elementModel.styling.lastHelperRowColor : 'transparent'">
<td *ngFor="let cell of row.cells" [attr.contenteditable]="cell.isEditable"
[style.width.px]="elementModel.styling.fontSize * 2"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment