Skip to content

Commit

Permalink
feat(docs): code editor stiling fixed for Edge (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
Margar1ta authored and pimenovoleg committed Sep 9, 2019
1 parent cbcd32c commit 0f62451
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
mcPlacement="bottom"></i>
</span>
<pre class="docs-example-source">
<doc-viewer #viewer [documentUrl]="exampleTabs[tabName]"></doc-viewer>
<doc-viewer #viewer [documentUrl]="exampleTabs[tabName]" class="docs-example-source-viewer"></doc-viewer>
<div class="docs-example-source-shadow"></div>
</pre>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@
min-height: 150px;
}

.docs-example-source-viewer {
position: absolute;
left: 12px;
top: 12px;
}

.docs-example-viewer-body {
padding: 16px;
}

0 comments on commit 0f62451

Please sign in to comment.