Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: static/scss/_base.scss

Issue 29581874: Noissue - Removed website-default container widths (Closed) Base URL: https://hg.adblockplus.org/website-defaults
Patch Set: Addressed comments Created Oct. 18, 2017, 1:37 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | static/scss/_variables.scss » ('j') | static/scss/_variables.scss » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: static/scss/_base.scss
===================================================================
--- a/static/scss/_base.scss
+++ b/static/scss/_base.scss
@@ -26,38 +26,21 @@
line-height: 1.5;
}
/**
* Center content within a (responsive) fixed width
*/
.container
{
- width: $phone-width;
+ width: $large-desktop-width;
ire 2017/10/20 07:49:39 I think you should still use a $container-width va
max-width: 100%;
- margin: 0px auto;
- padding: 0px $small-space;
-}
-
-@media(min-width: $tablet-breakpoint)
-{
- .container
- {
- width: $tablet-width;
- }
-}
-
-@media(min-width: $desktop-breakpoint)
-{
- .container
- {
- width: $desktop-width;
- }
+ margin-left: auto;
+ margin-right: auto;
+ padding-left: $small-space;
+ padding-right: $small-space;
}
@media(min-width: $large-desktop-breakpoint)
juliandoucette 2017/10/18 13:44:33 I wasn't sure what to call this breakpoint. As a r
ire 2017/10/20 07:49:38 I was wondering why this style wasn't applied, loo
ire 2017/10/20 07:49:38 I think applying this style at $large-desktop-brea
ire 2017/10/20 07:49:39 I think the breakpoint name works
juliandoucette 2017/10/20 11:05:10 You're right. I seem to be confused here. I was th
juliandoucette 2017/10/20 11:05:11 *I do this all the time D:*
ire 2017/10/23 11:59:37 Haha :P
{
- .container
- {
- width: $large-desktop-width;
- }
+ padding-left: $medium-space;
+ padding-right: $medium-space;
}
-
« no previous file with comments | « no previous file | static/scss/_variables.scss » ('j') | static/scss/_variables.scss » ('J')

Powered by Google App Engine
This is Rietveld