diff --git a/src/v2/scss/main.scss b/src/v2/scss/main.scss index f21d075b..2e7f07fd 100644 --- a/src/v2/scss/main.scss +++ b/src/v2/scss/main.scss @@ -54,6 +54,7 @@ @import "pages/project"; @import "pages/student_profile"; @import "pages/announcement"; +@import "pages/course_list"; @import "pages/course_detail"; @import "components/table"; // TODO: Remove styles below from production build diff --git a/src/v2/scss/pages/_course_list.scss b/src/v2/scss/pages/_course_list.scss new file mode 100644 index 00000000..15a3e129 --- /dev/null +++ b/src/v2/scss/pages/_course_list.scss @@ -0,0 +1,21 @@ +.table._courses { + border: none; + + .table__row { + .table__cell { + padding-left: spacer("4x"); + } + } + + @include media-breakpoint-up(md) { + .table__row { + .table__cell:first-child { + padding-left: spacer("8x"); + } + + .table__cell:last-child { + padding-right: spacer("8x"); + } + } + } +} diff --git a/templates/v2/pages/courses.jinja2 b/templates/v2/pages/courses.jinja2 index dcf51870..5b914c4d 100644 --- a/templates/v2/pages/courses.jinja2 +++ b/templates/v2/pages/courses.jinja2 @@ -110,7 +110,7 @@