From c2bdcc791536f84847bb5b97b4183153453bfaba Mon Sep 17 00:00:00 2001 From: Alexander Kastius Date: Thu, 1 Sep 2016 17:54:04 +0200 Subject: [PATCH] Added more height! --- app/assets/stylesheets/editor.css.scss | 2 +- app/views/exercises/_editor.html.slim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/editor.css.scss b/app/assets/stylesheets/editor.css.scss index fce2bfa2..80eee2dd 100644 --- a/app/assets/stylesheets/editor.css.scss +++ b/app/assets/stylesheets/editor.css.scss @@ -9,7 +9,7 @@ button i.fa-spin { .frame { display: none; - height: 400px; + height: 100%; audio, img, video { max-width: 100%; diff --git a/app/views/exercises/_editor.html.slim b/app/views/exercises/_editor.html.slim index 83cad405..b108d0df 100644 --- a/app/views/exercises/_editor.html.slim +++ b/app/views/exercises/_editor.html.slim @@ -1,7 +1,7 @@ #editor.row data-exercise-id=exercise.id data-message-depleted=t('exercises.editor.depleted') data-message-timeout=t('exercises.editor.timeout', permitted_execution_time: @exercise.execution_environment.permitted_execution_time) data-errors-url=execution_environment_errors_path(exercise.execution_environment) data-submissions-url=submissions_path data-user-id=@current_user.id div id="sidebar" class=(@exercise.hide_file_tree ? 'sidebar-col-collapsed' : 'sidebar-col') = render('editor_file_tree', exercise: @exercise, files: @files) div id='output_sidebar' class='output-col-collapsed' = render('exercises/editor_output') - div id='frames' class=(@exercise.hide_file_tree ? 'editor-col' : 'editor-col') + div id='frames' class='editor-col' - @files.each do |file| = render('editor_frame', exercise: exercise, file: file) #autosave-label