Commit 3bbf9c12 authored by Benjamin Fischer's avatar Benjamin Fischer
Browse files

CodeEditor: fixed preview opening another instance of itself instead

parent 42dffd13
......@@ -15,6 +15,7 @@
.codeeditor-right-top pre{overflow:auto}
.codeeditor-right-bottom .well{position:absolute;top:55px;right:10px;bottom:10px;left:10px;padding:10px;margin:0;white-space:nowrap;overflow-x:auto;overflow-y:auto}
.codeeditor-right-bottom .codeeditor-preview{position:relative;display:inline-block;margin:0 10px 10px 0;padding:6px;border-radius:3px;border:1px solid #b8b8b8;background-color:#fff;float:left;overflow:hidden}
.codeeditor-right-bottom .codeeditor-preview>a{cursor:pointer}
.codeeditor-right-bottom .codeeditor-preview:hover{border-color:#428bca}
.codeeditor-right-bottom .codeeditor-preview-label{position:absolute;top:0;right:0;left:0;height:24px;text-align:center}
.codeeditor-right-bottom .codeeditor-preview-img{position:absolute;top:24px;right:0;bottom:0;left:0;text-align:center}
......
......@@ -107,6 +107,9 @@
background-color: white;
float: left;
overflow: hidden;
> a {
cursor: pointer;
}
}
.codeeditor-right-bottom .codeeditor-preview:hover {
......@@ -164,4 +167,3 @@
background-color: #E8E8E8;
cursor: ns-resize;
}
<div class="codeeditor-preview">
<a href="#">
<a>
<div class="codeeditor-preview-label">
<div class="vispa-table-outer">
<div class="vispa-table-inner">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment