diff --git a/src/example/Course_about.jsx b/src/example/Course_about.jsx index 3500ec3..83eb7ac 100644 --- a/src/example/Course_about.jsx +++ b/src/example/Course_about.jsx @@ -351,15 +351,19 @@ const About = () => { End: {date(data?.end)} - {enrollMessage ? ( - - ) : ( - - )} + { + enrollMessage ? ( + + ) : ( + !enrolled && ( + + ) + ) + } {enrolled && ( View Course @@ -383,9 +387,7 @@ const About = () => { isActive={active === id} /> ))} - -
- {enrollMessage ? ( + {enrollMessage ? ( diff --git a/src/example/custom_scss/styles.scss b/src/example/custom_scss/styles.scss index d6b1dee..7c7f685 100644 --- a/src/example/custom_scss/styles.scss +++ b/src/example/custom_scss/styles.scss @@ -106,6 +106,11 @@ div.wrapper-continer { @extend .theme-btn; } } + @media (max-width: 499px) { + .wrapper-continer { + display: grid; + } + } } .white-continer-claim {