Skip to content

Commit

Permalink
Fix examples
Browse files Browse the repository at this point in the history
- fullscreen viewer does not have a title
- terminal is transparent and placed below the miew
  • Loading branch information
paulsmirnov committed Apr 5, 2019
1 parent 797cf82 commit 0499adc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
1 change: 0 additions & 1 deletion examples/fullscreen.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
<script src="../dist/Miew.min.js"></script>
</head>
<body>
<h1 style="color: white;">Open Miew in fullscreen</h1>
<div id="miew-container"></div>
<button id="fs" class="btn"><img src="data:image/gif;base64,R0lGODlhIAAgAIABAAAAAP///yH5BAEKAAEALAAAAAAgACAAAAJdjI+py+0PIwO01mmtynrxm3yAI24feYaltyIiZbbHC7tvnKr5PAZZ06kBhRjJzIhMKpfMpvO5JBZRhg6mJvXJbLvqTdfVbsXhL+4HtrI4Z9AVzWWv5XF4Wg3N65kFADs=" alt="FS" width="32" height="32" /></button>
<button id="app" class="btn"><b>APP</b></button>
Expand Down
10 changes: 2 additions & 8 deletions examples/terminal.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,9 @@
<link rel="stylesheet" href="../dist/Miew.min.css">
<link href="https://unpkg.com/jquery.terminal@1/css/jquery.terminal.min.css" rel="stylesheet"/>
<style>
html, body { width: 100%; height: 100%; margin: 0 }
.terminal, .cmd {
background-color: transparent!important;
}
html, body { width: 100%; height: 100% }
.miew-terminal {
position:fixed;
top: 480px;
left: 0;
bottom: 0;
--background: transparent;
width:640px;
z-index: 10;
}
Expand Down

0 comments on commit 0499adc

Please sign in to comment.