From d8ce88ab57c49c82bd83cc5de84c2027e366841b Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Fri, 25 Jul 2025 18:30:58 +0530 Subject: [PATCH] fix: color swatch input style --- cypress/e2e/course_creation.cy.js | 2 +- .../src/components/Controls/ColorSwatches.vue | 74 +- frontend/src/components/CourseCard.vue | 2 +- frontend/src/pages/CourseForm.vue | 4 +- lms/lms/doctype/lms_course/lms_course.json | 4 +- package.json | 2 +- yarn.lock | 1374 +++++++++++++++++ 7 files changed, 1423 insertions(+), 39 deletions(-) create mode 100644 yarn.lock diff --git a/cypress/e2e/course_creation.cy.js b/cypress/e2e/course_creation.cy.js index e8120051..06a851df 100644 --- a/cypress/e2e/course_creation.cy.js +++ b/cypress/e2e/course_creation.cy.js @@ -107,7 +107,7 @@ describe("Course Creation", () => { cy.get("div").contains( "Test Course Short Introduction to test the UI" ); - cy.get(".course-image") + cy.get(".bg-cover") .invoke("css", "background-image") .should("include", "/files/profile"); }); diff --git a/frontend/src/components/Controls/ColorSwatches.vue b/frontend/src/components/Controls/ColorSwatches.vue index 8a958acb..3b6ab02c 100644 --- a/frontend/src/components/Controls/ColorSwatches.vue +++ b/frontend/src/components/Controls/ColorSwatches.vue @@ -3,39 +3,43 @@
{{ __(label) }}
- + +
+ {{ description }} +