mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Switching the order that colors are applied to a cell
Summary: Switching an order that colors are applied to a cell. Previously a default cell style was applied after style that came from a row style. Now the row style is applied after (so it overrides default cell style). Also, background color that comes from a field options (either from default style or rule) is applied to a whole field, so it also includes icons for formula/reference field. Test Plan: Updated Reviewers: paulfitz Reviewed By: paulfitz Differential Revision: https://phab.getgrist.com/D3651
This commit is contained in:
@@ -1199,8 +1199,8 @@ GridView.prototype.buildDom = function() {
|
||||
kd.toggleClass('font-underline', fontUnderline),
|
||||
kd.toggleClass('font-italic', fontItalic),
|
||||
kd.toggleClass('font-strikethrough', fontStrikethrough),
|
||||
kd.style('--grist-row-background-color', fillColor),
|
||||
kd.style('--grist-row-background-color-zebra', zebraColor),
|
||||
kd.style('--grist-row-rule-background-color', fillColor),
|
||||
kd.style('--grist-row-rule-background-color-zebra', zebraColor),
|
||||
kd.style('--grist-row-color', textColor),
|
||||
//These are grabbed from v.optionsObj at start of GridView buildDom
|
||||
kd.toggleClass('record-hlines', vHorizontalGridlines),
|
||||
|
||||
Reference in New Issue
Block a user