Prevent terminal from scrolling

This commit is contained in:
Jonathan Frederic 2014-12-16 14:27:34 -08:00 committed by Jonathan Frederic
parent fbc2adf2d5
commit 94a893d975
4 changed files with 14 additions and 1 deletions

View File

@ -41,5 +41,6 @@ label {
// Our own global variables for all pages go here
@global-shadow: 0px 0px 12px 1px rgba(87, 87, 87, 0.2);
@global-shadow-dark: 0px 0px 12px 1px rgba(87, 87, 87, 0.4);
@page-header-padding: 20px;

View File

@ -0,0 +1,7 @@
/*This file contains any manual css for this page that needs to override the global styles.
This is only required when different pages style the same element differently. This is just
a hack to deal with our current css styles and no new styling should be added in this file.*/
body {
overflow: hidden;
}

View File

@ -4,7 +4,7 @@
color: white;
background: black;
border-radius: @border-radius-base;
box-shadow: 0px 4px 11px 0px gray;
.box-shadow(@global-shadow-dark);
padding: @code_padding;
&, dummy-screen {

View File

@ -9,6 +9,11 @@ data-ws-path="{{ws_path}}"
{% endblock %}
{% block stylesheet %}
{{super()}}
<link rel="stylesheet" href="{{ static_url("terminal/css/override.css") }}" type="text/css" />
{% endblock %}
{% block site %}