Skip to content

Commit

Permalink
Improve evaluation sidebar size on vertical screens
Browse files Browse the repository at this point in the history
  • Loading branch information
jorg-vr committed Sep 19, 2022
1 parent 5c9f0f3 commit 5916e23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/views/feedbacks/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<% end %>

<div class="row" id="feedback-page">
<div class="col-12 order-lg-1 col-lg-3 feedback-metadata">
<div class="col-12 order-lg-1 col-lg-4 col-xxl-3 feedback-metadata">
<div class="card" id="feedback-actions-holder">
<%= render partial: 'feedback_actions', locals: { evaluation: @feedback.evaluation, feedback: @feedback } %>
</div>
Expand All @@ -20,7 +20,7 @@
></d-saved-annotations-sidecard>
<% end %>
</div>
<div class="col-12 order-lg-0 col-lg-9 feedback-submission">
<div class="col-12 order-lg-0 col-lg-8 col-xxl-9 feedback-submission">
<div class="card feedback-show">
<div class="card-title card-title-colored">
<h2 class="card-title-text"><span>
Expand Down
4 changes: 2 additions & 2 deletions app/views/submissions/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<%= render 'navbar_links' %>
<div class="row justify-content-center">
<div class="col-lg-9 col-12">
<div class="col-lg-8 col-xxl-9 col-12">
<div class="card">
<div class="card-title card-title-colored">
<h2 class="card-title-text"><%= t ".submission_results" %></h2>
Expand Down Expand Up @@ -34,7 +34,7 @@
<d-saved-annotations-sidecard course-id="<%= @submission.course&.id %>"
exercise-id="<%= @submission.exercise&.id %>"
user-id="<%= current_user.id %>"
class="col-12 col-lg-3"
class="col-12 col-lg-4 col-xxl-3"
></d-saved-annotations-sidecard>
<% end %>
</div>
Expand Down

0 comments on commit 5916e23

Please sign in to comment.