Skip to content

Commit

Permalink
Merge 255a37a into 3ef2f7c
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed Jun 5, 2023
2 parents 3ef2f7c + 255a37a commit fc2bff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/process-all.js
Expand Up @@ -31,7 +31,7 @@ function processAll () {
appendSaveAsDialog(i, 'WaveDrom_Display_');
}
// add styles
document.head.innerHTML += '<style type="text/css">div.wavedromMenu{position:fixed;border:solid 1pt#CCCCCC;background-color:white;box-shadow:0px 10px 20px #808080;cursor:default;margin:0px;padding:0px;}div.wavedromMenu>ul{margin:0px;padding:0px;}div.wavedromMenu>ul>li{padding:2px 10px;list-style:none;}div.wavedromMenu>ul>li:hover{background-color:#b5d5ff;}</style>';
document.head.insertAdjacentHTML('beforeend', '<style type="text/css">div.wavedromMenu{position:fixed;border:solid 1pt#CCCCCC;background-color:white;box-shadow:0px 10px 20px #808080;cursor:default;margin:0px;padding:0px;}div.wavedromMenu>ul{margin:0px;padding:0px;}div.wavedromMenu>ul>li{padding:2px 10px;list-style:none;}div.wavedromMenu>ul>li:hover{background-color:#b5d5ff;}</style>');
}

module.exports = processAll;
Expand Down

0 comments on commit fc2bff9

Please sign in to comment.