Skip to content

Commit 2feb53d

Browse files
committed
feat: remove white boarder
1 parent f345f5e commit 2feb53d

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

bigframes/display/table_widget.js

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,17 +65,22 @@ function render({ model, el }) {
6565
// Clear background of ancestors to remove "white frame" from containers.
6666
let parent = el.parentElement;
6767
while (parent && parent !== document.body) {
68-
parent.style.setProperty("background-color", "transparent");
69-
parent.style.setProperty("padding", "0");
68+
parent.style.setProperty(
69+
"background-color",
70+
"transparent",
71+
"important",
72+
);
73+
parent.style.setProperty("padding", "0", "important");
7074
parent = parent.parentElement;
7175
}
7276

7377
if (body) {
74-
body.style.setProperty("background-color", "#202124");
75-
body.style.setProperty("margin", "0");
78+
body.style.setProperty("background-color", "#202124", "important");
79+
body.style.setProperty("margin", "0", "important");
7680
document.documentElement.style.setProperty(
7781
"background-color",
7882
"#202124",
83+
"important",
7984
);
8085
}
8186
} else {

0 commit comments

Comments
 (0)