Skip to content

Commit

Permalink
Add CSS class to RTI TypePanel (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
kungfooman authored Nov 7, 2024
1 parent e9c9ab4 commit 1bc81f3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions repl/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
<head>
<script src="importmap.js"></script>
<link rel="stylesheet" href="./node_modules/display-anything/src/DisplayAnything.css"></link>
<style>
.rti-all {
max-height: 200px;
overflow-y: scroll;
}
</style>
</head>
<body>
<select id="action">
Expand Down
1 change: 1 addition & 0 deletions src-runtime/TypePanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ class TypePanel {
divAll.style.bottom = "0px";
divAll.style.right = "0px";
divAll.style.zIndex = "10";
divAll.classList.add('rti-all');
niceDiv(div);
inputEnable.checked = isEnabled();
inputEnable.type = "checkbox";
Expand Down

0 comments on commit 1bc81f3

Please sign in to comment.