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: Fixed mistakes Created Oct. 20, 2017, 11:11 a.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,15 @@
line-height: 1.5;
}
/**
* Center content within a (responsive) fixed width
*/
.container
{
- width: $phone-width;
+ width: $container-width;
max-width: 100%;
- margin: 0px auto;
- padding: 0px $small-space;
-}
-
-@media(min-width: $tablet-breakpoint)
-{
- .container
- {
- width: $tablet-width;
- }
+ margin-left: auto;
+ margin-right: auto;
ire 2017/10/23 11:59:37 margin-right should come before margin-left (same
juliandoucette 2017/10/23 12:45:49 Done.
+ padding-left: $small-space;
+ padding-right: $small-space;
}
-
-@media(min-width: $desktop-breakpoint)
-{
- .container
- {
- width: $desktop-width;
- }
-}
-
-@media(min-width: $large-desktop-breakpoint)
-{
- .container
- {
- width: $large-desktop-width;
- }
-}
-
« 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