From a6a457d88f746f96fd487b5a2391886c51042ef9 Mon Sep 17 00:00:00 2001 From: Ivan Urdenko Date: Thu, 21 Sep 2023 11:38:30 +0200 Subject: [PATCH] changed allignment on the page for buttons --- src/example/Course_about.jsx | 2 +- src/example/custom_scss/styles.scss | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/example/Course_about.jsx b/src/example/Course_about.jsx index 0c3cfbd..0bdb643 100644 --- a/src/example/Course_about.jsx +++ b/src/example/Course_about.jsx @@ -365,7 +365,7 @@ const About = () => { ) } {enrolled && ( - + View Course )} diff --git a/src/example/custom_scss/styles.scss b/src/example/custom_scss/styles.scss index 4a1a063..cfefd08 100644 --- a/src/example/custom_scss/styles.scss +++ b/src/example/custom_scss/styles.scss @@ -125,7 +125,6 @@ img.course-image { .course-info-banner { display: flex; - justify-content: space-around; margin-top: 10px; margin-bottom: 10px; } @@ -135,6 +134,9 @@ img.course-image { .course-info-banner { display: grid; } + .big-button { + width: 100%; + } }