Skip to content

Commit

Permalink
Move installer documentation to a fixed position
Browse files Browse the repository at this point in the history
  • Loading branch information
strycore committed Feb 27, 2019
1 parent 58c99b4 commit a180473
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
11 changes: 8 additions & 3 deletions frontend/css/lutris.less
Expand Up @@ -734,9 +734,6 @@ input {
}

.docs {
max-height: 840px;
overflow: auto;

tt {
white-space: nowrap;
font-family: monospace;
Expand Down Expand Up @@ -1624,6 +1621,14 @@ input {
}
}

.fixed-panel {
position: fixed;
right: 0;
top: 80px;
bottom: 80px;
width: 40%;
overflow: auto;
}

.filter-list {
display: inline-block;
Expand Down
8 changes: 4 additions & 4 deletions templates/installers/form.html
Expand Up @@ -51,11 +51,11 @@ <h1>{% if new %}New{% else %}Edit{% endif %} installer for {{ game }}</h1>
</form>
</div>
</div>
<div class="col-sm-5">
<div class="well docs">

</div>
<div class="well docs fixed-panel">
<h1>Installer documentation</h1>
{% include "docs/installers.html" %}
</div>
</div>
</div>
{% endblock %}

Expand Down

0 comments on commit a180473

Please sign in to comment.