From 160d8b09141af409516592e2a8710033bdc5cf09 Mon Sep 17 00:00:00 2001 From: scmmishra Date: Fri, 2 Nov 2018 11:29:02 +0530 Subject: [PATCH] Added separate ContentTitle component --- .../web-academy/components/ContentArticle.vue | 23 ++++--------- .../web-academy/components/ContentTitle.vue | 33 +++++++++++++++++++ .../web-academy/pages/AcademyCoursePage.vue | 2 +- 3 files changed, 41 insertions(+), 17 deletions(-) create mode 100644 erpnext/public/js/education/web-academy/components/ContentTitle.vue diff --git a/erpnext/public/js/education/web-academy/components/ContentArticle.vue b/erpnext/public/js/education/web-academy/components/ContentArticle.vue index 27d16a732e..64bfb86a3e 100644 --- a/erpnext/public/js/education/web-academy/components/ContentArticle.vue +++ b/erpnext/public/js/education/web-academy/components/ContentArticle.vue @@ -1,21 +1,8 @@ diff --git a/erpnext/public/js/education/web-academy/components/ContentTitle.vue b/erpnext/public/js/education/web-academy/components/ContentTitle.vue new file mode 100644 index 0000000000..ad6b3bb7fa --- /dev/null +++ b/erpnext/public/js/education/web-academy/components/ContentTitle.vue @@ -0,0 +1,33 @@ + + + + + diff --git a/erpnext/public/js/education/web-academy/pages/AcademyCoursePage.vue b/erpnext/public/js/education/web-academy/pages/AcademyCoursePage.vue index 1616ba6918..ca5434b765 100644 --- a/erpnext/public/js/education/web-academy/pages/AcademyCoursePage.vue +++ b/erpnext/public/js/education/web-academy/pages/AcademyCoursePage.vue @@ -79,7 +79,7 @@ export default { } .quiz-section { - padding-top: 3rem !important; + padding-top: 0.5em !important; padding-bottom: 0rem !important; } \ No newline at end of file