Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
ecommerce
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
ecommerce
Commits
dafaa1b3
Commit
dafaa1b3
authored
May 24, 2016
by
Malik Shahzad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WL-484: Checkout buttons alignment fixed.
parent
349dcdfe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
14 deletions
+29
-14
ecommerce/static/sass/partials/views/_basket.scss
+12
-0
ecommerce/static/sass/partials/views/_credit.scss
+17
-14
No files found.
ecommerce/static/sass/partials/views/_basket.scss
View file @
dafaa1b3
...
...
@@ -190,3 +190,15 @@
}
}
}
/* extra Small devices (phones, 768px and lower) */
@media
(
max-width
:
$screen-xs-max
)
{
.basket
.container
{
.payment-buttons
{
.payment-button
{
width
:
100%
;
margin-bottom
:
2px
;
}
}
}
}
ecommerce/static/sass/partials/views/_credit.scss
View file @
dafaa1b3
...
...
@@ -78,6 +78,11 @@
div
.advantages
p
{
color
:
$gray
;
}
.payment-button
{
width
:
100%
;
margin-bottom
:
2px
;
}
}
.advatanges-panel
{
...
...
@@ -97,11 +102,6 @@
border-bottom
:
1px
solid
$gray-light
;
}
.payment-button
{
width
:
100%
;
margin-bottom
:
2px
;
}
.cap-image
{
max-width
:
20px
;
margin-bottom
:
5px
;
...
...
@@ -109,19 +109,22 @@
/* Small devices (tablets, 768px and up) */
@media
(
min-width
:
$screen-sm-min
)
{
.payment-button
{
width
:
49%
;
}
.credit-checkout
{
.payment-button
{
width
:
49%
;
}
.course-details
{
border-bottom
:
none
;
.course-details
{
border-bottom
:
none
;
}
}
}
/* Medium devices (desktops, 992px and up) */
@media
(
min-width
:
$screen-md-min
)
{
.payment-button
{
width
:
auto
;
@media
(
min-width
:
$screen-xs
)
{
.credit-checkout
{
.payment-button
{
width
:
auto
;
}
}
}
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