Skip to content

Commit d593ec8

Browse files
author
Zehua Liu
committed
Fixed interference of css style from docs page to repl
Made the css class name and selector for docs more selective to avoid messing up with the .repl class in the repl
1 parent cca1256 commit d593ec8

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146

147147
var iframe = container.lastElementChild;
148148
iframe.style.cssText = 'height:' + iframe.style.height;
149-
iframe.classList.add('repl');
149+
iframe.classList.add('repl-inline');
150150
notebook.evaluate()
151151
}
152152
});

less/ramda.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ aside.gitter-chat-embed {
4242
z-index: 1040;
4343
}
4444

45-
.repl {
45+
iframe.repl-inline {
4646
background-color: transparent;
4747
margin: 0 0 0 -75px;
4848
padding: 0;

style.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)