Embedded snippets numbering and scrolling is off
Description
When embedding a snippet into some HTML by dropping in the script tag, the numbering and scroll area of the snippet is off.
Demo | Screenshot of small snippet |
---|---|
20200225_embed_snippet_bug | ![]() |
Example HTML
<!DOCTYPE html>
<html>
<head>
<title>Hello</title>
</head>
<body>
<script src="https://gitlab.com/snippets/1853319.js"></script>
</body>
</html>
Simply create a index.html
file with this content and open in your local browser to see the bug.
Edited by Paul Slaughter