diff --git a/src/stylesheets/main.scss b/src/stylesheets/main.scss index bf40b16..48c7daa 100644 --- a/src/stylesheets/main.scss +++ b/src/stylesheets/main.scss @@ -23,3 +23,4 @@ @import 'pages/index'; @import 'pages/dashboard'; @import 'pages/classes'; +@import 'pages/tests'; diff --git a/src/stylesheets/pages/_dashboard.scss b/src/stylesheets/pages/_dashboard.scss index 8519c25..b90ed2c 100644 --- a/src/stylesheets/pages/_dashboard.scss +++ b/src/stylesheets/pages/_dashboard.scss @@ -1,7 +1,7 @@ .adminContent { min-height: 91vh; background-color: $admin-bg; - padding: .5rem 2rem 0 2rem; + padding: .5rem 1rem 0 1rem; .dashboard__stats { display: grid; diff --git a/src/stylesheets/pages/_tests.scss b/src/stylesheets/pages/_tests.scss new file mode 100644 index 0000000..932e24f --- /dev/null +++ b/src/stylesheets/pages/_tests.scss @@ -0,0 +1,7 @@ +.tests { + table { + th, td { + overflow-wrap: anywhere; + } + } +} diff --git a/views/tests.hbs b/views/tests.hbs index b4ff84c..b6e79ce 100644 --- a/views/tests.hbs +++ b/views/tests.hbs @@ -6,51 +6,51 @@ Name - Subject Class + Subject Date {{> test id='1' name='Organic Synthesis' - subject='Chemistry' class='MKA_133' + subject='Chemistry' date='01/08/2021' }} {{> test id='2' name='Organic Synthesis' - subject='Chemistry' class='MKA_133' + subject='Chemistry' date='01/08/2021' }} {{> test id='3' name='Organic Synthesis' - subject='Chemistry' class='MKA_133' + subject='Chemistry' date='01/08/2021' }} {{> test id='4' name='Organic Synthesis' - subject='Chemistry' class='MKA_133' + subject='Chemistry' date='01/08/2021' }} {{> test id='5' name='Organic Synthesis' - subject='Chemistry' class='MKA_133' + subject='Chemistry' date='01/08/2021' }} {{> test id='6' name='Organic Synthesis' - subject='Chemistry' class='MKA_133' + subject='Chemistry' date='01/08/2021' }}