Skip to content

Commit

Permalink
fix: Open Responses Styling and Layout (openedx#33717)
Browse files Browse the repository at this point in the history
* fix: table styling on Instructor Dashboard

Ref: openedx/wg-build-test-release#223
The Open Responses tab on instructor dashboard on LMS has a few issues with table styling; there isn't enough spacing between some columns which makes the text difficult to read, and the bottom of some numbers in the summary table are cutoff
This change adds padding to the right of each column to ensure longer text is still legible and changes the line height from 1em to 1 (unitless), which looks the same but doesn't cut off the bottom

* fix: remove whitespace
Remove extra whitespace line 1862 for better formatting
  • Loading branch information
tspring5000 authored Mar 6, 2024
1 parent 8a2c3ff commit 1dab744
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lms/static/sass/course/instructor/_instructor_2.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1858,6 +1858,16 @@
.instructor-dashboard-wrapper-2 section.idash-section#open_response_assessment {
.open-response-assessment {
padding-top: 20px;

.open-response-assessment-content {
.open-response-assessment-summary, .open-response-assessment-main-table {
line-height: 1;

table tr td {
padding-right: 20px;
}
}
}
}
}

Expand Down

0 comments on commit 1dab744

Please sign in to comment.