Commit 47311e19 by Ibrahim Ahmed Committed by GitHub

Merge pull request #15902 from edx/ibrahimahmed443/WL-1186-program-dashboard-layout

fix layout issues in Program dashboard page
parents fcb6e7cb 165954b1
...@@ -463,25 +463,30 @@ ...@@ -463,25 +463,30 @@
} }
.course-meta-container { .course-meta-container {
display: flex;
flex-direction: column;
flex-wrap: wrap;
@media(min-width: $bp-screen-md) { @media(min-width: $bp-screen-md) {
display: table;
width: 100%; width: 100%;
flex-direction: row; }
justify-content: space-between; }
.course-details {
@media(min-width: $bp-screen-md) {
display: table-cell;
vertical-align: top;
padding: 0 10px 0 0;
} }
} }
.course-actions { .course-actions {
display: flex; @media(min-width: $bp-screen-md) {
flex-direction: column; width: 200px;
text-align: right;
}
.course-enroll-view { .course-enroll-view {
display: flex; @media(min-width: $bp-screen-md) {
justify-content: space-between; text-align: right;
flex-wrap: wrap; }
} }
} }
...@@ -645,6 +650,13 @@ ...@@ -645,6 +650,13 @@
display: flex; display: flex;
flex-direction: row; flex-direction: row;
padding: 5px 0 10px; padding: 5px 0 10px;
.image-link {
flex: 0 0 100px;
@media(min-width: $bp-screen-md) {
flex: 0 0 120px;
}
}
} }
.certificate-link { .certificate-link {
......
<div class="section"> <div class="section">
<div class="course-meta-container col-12 md-col-8 sm-col-12"> <div class="course-meta-container">
<div class="course-details"> <div class="course-details">
<h5 class="course-title"> <h5 class="course-title">
<% if ( marketing_url || course_url ) { %> <% if ( marketing_url || course_url ) { %>
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<% } %> <% } %>
</div> </div>
</div> </div>
<div class="course-actions col-12 md-col-4 sm-col-12"></div> <div class="course-actions"></div>
<div class="course-certificate certificate-status"></div> <div class="course-certificate certificate-status"></div>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment