Skip to content

Commit

Permalink
cleanup demo
Browse files Browse the repository at this point in the history
  • Loading branch information
nightwing committed Mar 11, 2023
1 parent d53da8e commit 4f7bf17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
3 changes: 2 additions & 1 deletion demo/kitchen-sink/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ optionsPanel.add({
var optionsPanelContainer = document.getElementById("optionsPanel");
optionsPanel.render();
optionsPanelContainer.insertBefore(optionsPanel.container, optionsPanelContainer.firstChild);
optionsPanel.container.style.width = "80%";
optionsPanel.on("setOption", function(e) {
util.saveOption(e.name, e.value);
});
Expand Down Expand Up @@ -451,7 +452,7 @@ env.editSnippets = function() {
};

optionsPanelContainer.insertBefore(
dom.buildDom(["div", {style: "text-align:right;margin-right: 60px"},
dom.buildDom(["div", {style: "text-align:right;width: 80%"},
["div", {},
["button", {onclick: env.editSnippets}, "Edit Snippets"]],
["div", {},
Expand Down
8 changes: 0 additions & 8 deletions kitchen-sink.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,8 @@
<meta name="viewport" content="width=device-width,height=device-height" />
<title>Ace Kitchen Sink</title>
<meta name="author" content="Fabian Jakobs">
<!--
Ace
version %version%
commit %commit%
-->

<link rel="stylesheet" href="demo/kitchen-sink/styles.css" type="text/css" media="screen" charset="utf-8">
<!--PACKAGE
<script async="true" src="https://use.edgefonts.net/source-code-pro.js"></script>
PACKAGE-->

<link href="./doc/site/images/favicon.ico" rel="icon" type="image/x-icon">
</head>
Expand Down

0 comments on commit 4f7bf17

Please sign in to comment.