mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-02-10 18:05:32 +08:00
Fix table styler for dark theme
This commit is contained in:
@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user