Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
47311e19
Commit
47311e19
authored
Aug 28, 2017
by
Ibrahim Ahmed
Committed by
GitHub
Aug 28, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15902 from edx/ibrahimahmed443/WL-1186-program-dashboard-layout
fix layout issues in Program dashboard page
parents
fcb6e7cb
165954b1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
13 deletions
+25
-13
lms/static/sass/views/_program-details.scss
+23
-11
lms/templates/learner_dashboard/course_card.underscore
+2
-2
No files found.
lms/static/sass/views/_program-details.scss
View file @
47311e19
...
@@ -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
{
...
...
lms/templates/learner_dashboard/course_card.underscore
View file @
47311e19
<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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment