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. 23, 2017, 12:58 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') | no next file with comments »
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-right: auto;
+ margin-left: auto;
+ padding-right: $small-space;
+ padding-left: $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') | no next file with comments »

Powered by Google App Engine
This is Rietveld