fix truncation at bottom of editor
This commit is contained in:
parent
67bf9eab35
commit
82f2de5efa
|
@ -152,14 +152,17 @@ for status_code in httplib.responses:
|
|||
if status_code >= 400:
|
||||
app.register_error_handler(status_code, error_handler)
|
||||
|
||||
|
||||
@app.before_request
|
||||
def init_g():
|
||||
g.assets = dict(css=['main.css'], js=['main.js'])
|
||||
|
||||
|
||||
@app.template_filter('datetime')
|
||||
def _jinja2_filter_datetime(ts):
|
||||
return time.strftime('%b %d, %Y %I:%M %p', time.localtime(ts))
|
||||
|
||||
|
||||
@app.errorhandler(404)
|
||||
def page_not_found(e):
|
||||
return render_template('errors/404.html'), 404
|
||||
|
|
|
@ -172,12 +172,12 @@ a.label {
|
|||
|
||||
.entry-markdown {
|
||||
left: 0;
|
||||
border-right: #edece4 2px solid;
|
||||
border-right: #ddd 2px solid;
|
||||
}
|
||||
|
||||
.entry-preview {
|
||||
right: 0;
|
||||
border-left: #edece4 2px solid;
|
||||
border-left: #ddd 2px solid;
|
||||
}
|
||||
|
||||
.entry-preview-content {
|
||||
|
@ -204,10 +204,6 @@ a.label {
|
|||
line-height: 1.3em;
|
||||
}
|
||||
|
||||
.ace_content {
|
||||
padding: 40px 3px;
|
||||
}
|
||||
|
||||
.floatingheader {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
|
@ -221,6 +217,10 @@ a.label {
|
|||
background-color: #eee;
|
||||
}
|
||||
|
||||
#editor {
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
@media (max-width:1000px) {
|
||||
.ace_content {
|
||||
padding: 3px;
|
||||
|
|
Loading…
Reference in a new issue