teragrep / ajs_01

User interface for Teragrep
Apache License 2.0
0 stars 0 forks source link

Extra padding is added between note-action and the first paragraph when window is resized #228

Closed ronja-ui closed 4 months ago

ronja-ui commented 6 months ago

A random inline css is injected whenever the window is resized or the browser inspector is opened.

Source code before the bug:

<div id="content" class="notebook-content row">...</div>

Source code after the bug:

<div id="content" class="notebook-content row" style="padding-top: 55px;">...</div>
ronja-ui commented 6 months ago

Seems like notebook.controller is adding this extra padding:

angular.element(document.getElementById('content')).css('padding-top', actionbarHeight - 20);