diff --git a/.scss-lint.yml b/.scss-lint.yml index 459768557..1fc197bb9 100644 --- a/.scss-lint.yml +++ b/.scss-lint.yml @@ -35,7 +35,7 @@ linters: enabled: true DisableLinterReason: - enabled: false + enabled: true DuplicateProperty: enabled: true diff --git a/Changelog.md b/Changelog.md index 1f20e82b8..7c1d62eef 100644 --- a/Changelog.md +++ b/Changelog.md @@ -80,6 +80,7 @@ Contributions are very welcome, the hard work is done! * Replace sidetiq with sidekiq-cron [#6616](https://github.com/diaspora/diaspora/pull/6616) * Refactor mobile comment section [#6509](https://github.com/diaspora/diaspora/pull/6509) * Set vertical resize as default for all textareas [#6654](https://github.com/diaspora/diaspora/pull/6654) +* Unifiy max-widths and page layouts [#6675](https://github.com/diaspora/diaspora/pull/6675) ## Bug fixes * Destroy Participation when removing interactions with a post [#5852](https://github.com/diaspora/diaspora/pull/5852) diff --git a/app/assets/stylesheets/base.scss b/app/assets/stylesheets/base.scss index b701adb49..dd7ed1791 100644 --- a/app/assets/stylesheets/base.scss +++ b/app/assets/stylesheets/base.scss @@ -3,6 +3,13 @@ body { padding: none; } +.container-fluid { max-width: $screen-lg-min; } + +.page-streams, +.page-tags.action-show { + > .container-fluid { max-width: 100%; } +} + // Overflow h1, h2, diff --git a/app/assets/stylesheets/conversations.scss b/app/assets/stylesheets/conversations.scss index 62e0a3fef..846abe2a9 100644 --- a/app/assets/stylesheets/conversations.scss +++ b/app/assets/stylesheets/conversations.scss @@ -191,11 +191,12 @@ } } -@media (max-width: 1354px) { - #left_pane #conversation_inbox .pagination ul > li > a { - padding: 4px 7px; - } +// We need this to override the Bootstrap pagination style only for the conversations view +// scss-lint:disable SelectorDepth +.conversation-inbox .pagination > li > a { + padding: 4px 7px; } +// scss-lint:enable SelectorDepth #new_conversation_pane { ul.as-selections { width: 100% !important; } diff --git a/app/assets/stylesheets/header.scss b/app/assets/stylesheets/header.scss index 1f958d6ed..9cb3a533d 100644 --- a/app/assets/stylesheets/header.scss +++ b/app/assets/stylesheets/header.scss @@ -9,7 +9,6 @@ } @media (max-width: $grid-float-breakpoint-max) { - .col-lg-10 { padding: 0; } .navbar-header > .nav li { display: inline-block !important; } .nav-badge { color: $navbar-inverse-link-color; diff --git a/app/assets/templates/header_tpl.jst.hbs b/app/assets/templates/header_tpl.jst.hbs index 0855fa835..15e6023ba 100644 --- a/app/assets/templates/header_tpl.jst.hbs +++ b/app/assets/templates/header_tpl.jst.hbs @@ -1,7 +1,7 @@