Merge pull request #730 from ONLYOFFICE/fix/table-styler
Fix table styler for dark theme
This commit is contained in:
commit
d887ef8659
|
@ -677,10 +677,12 @@ define([
|
|||
};
|
||||
|
||||
me.setTableColor = function(color) {
|
||||
table_content.toggleClass('transparent', color == 'transparent');
|
||||
table_content.css('background-color', (color == 'transparent' ) ? color : ('#'+color));
|
||||
};
|
||||
|
||||
me.setCellsColor = function(color) {
|
||||
!me.spacingMode && table_content.toggleClass('transparent', color == 'transparent');
|
||||
cells_content.css('background-color', (color == 'transparent' ) ? color : ('#'+color));
|
||||
};
|
||||
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
.table-styler {
|
||||
table {
|
||||
&.transparent {
|
||||
background-color: @canvas-content-background !important;
|
||||
}
|
||||
}
|
||||
td {
|
||||
padding: 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue