diff --git a/src/components/GradebookHeader/__snapshots__/test.jsx.snap b/src/components/GradebookHeader/__snapshots__/test.jsx.snap index ea7acb80..b88af383 100644 --- a/src/components/GradebookHeader/__snapshots__/test.jsx.snap +++ b/src/components/GradebookHeader/__snapshots__/test.jsx.snap @@ -29,7 +29,9 @@ exports[`GradebookHeader component snapshots default values (grades frozen, cann
-

+

fakeID

@@ -75,7 +77,9 @@ exports[`GradebookHeader component snapshots grades frozen, can view. grades fro
-

+

fakeID

@@ -121,7 +125,9 @@ exports[`GradebookHeader component snapshots grades frozen, cannot view unauthor
-

+

fakeID

@@ -177,7 +183,9 @@ exports[`GradebookHeader component snapshots show bulk management, active view i
-

+

fakeID

); diff --git a/src/components/GradesView/GradesView.scss b/src/components/GradesView/GradesView.scss index 1d59e2dd..e28ee94c 100644 --- a/src/components/GradesView/GradesView.scss +++ b/src/components/GradesView/GradesView.scss @@ -46,6 +46,7 @@ } .grade-history-header{ float: left; + min-width: 170px; } .grade-history-assignment{ @@ -65,7 +66,7 @@ .gradebook-container { width: 100%; overflow-x: auto; - height: 600px; + max-height: 600px; overflow-y: auto; position: relative; } @@ -122,3 +123,34 @@ select#ScoreView.form-control { border-right-color: $black; } } + +#edit-filters-btn { + @include media-breakpoint-down(xs) { + width: 100%; + margin-bottom: 1rem; + } +} + +.search-container { + @include media-breakpoint-down(xs) { + width: 100%; + } +} + +.pgn__modal-body-content .pgn__data-table-layout-wrapper { + @include media-breakpoint-down(sm) { + clear: both; + padding: 1rem 0; + } +} + +.page-gradebook { + position: relative; + + .sidebar-container { + position: relative; + } + aside.sidebar { + overflow: auto; + } +} diff --git a/src/components/GradesView/SearchControls.jsx b/src/components/GradesView/SearchControls.jsx index 08124fee..aa534d90 100644 --- a/src/components/GradesView/SearchControls.jsx +++ b/src/components/GradesView/SearchControls.jsx @@ -40,7 +40,7 @@ export class SearchControls extends React.Component { render() { return ( -
+
} diff --git a/src/components/GradesView/__snapshots__/FilterMenuToggle.test.jsx.snap b/src/components/GradesView/__snapshots__/FilterMenuToggle.test.jsx.snap index 9b66b380..2535320b 100644 --- a/src/components/GradesView/__snapshots__/FilterMenuToggle.test.jsx.snap +++ b/src/components/GradesView/__snapshots__/FilterMenuToggle.test.jsx.snap @@ -7,7 +7,7 @@ exports[`FilterMenuToggle component snapshots basic snapshot 1`] = ` onClick={[MockFunction this.props.toggleFilterDrawer]} > +
diff --git a/src/components/GradesView/index.jsx b/src/components/GradesView/index.jsx index 47373b13..e519611d 100644 --- a/src/components/GradesView/index.jsx +++ b/src/components/GradesView/index.jsx @@ -50,7 +50,7 @@ export class GradesView extends React.Component { -
+