There seems to be a small mistake in the bartik layout.css file as where the definition for the width and margin of the sidebars in a one sidebar layout for media style 560 to 850 px.

In the css file the class is given with .one-sidebar where as the html delivers .layout-one-sidebar. So the style gets not applied here.

I attach a small patch for the layout.css to remedy this issue.

Beta phase evaluation

Reference: https://www.drupal.org/core/beta-changes
Unfrozen changes Unfrozen because it only changes CSS.
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

stefan.korn’s picture

emma.maria’s picture

Status: Active » Needs review

Setting this issue to Needs review to fire tests for the patch, I will look into this issue in the meantime.

emma.maria’s picture

Excellent spot! The class had not been updated in that section of layout.css so that part of the CSS styling was lost to Bartik.

Before the patch:
The sidebars jumped from 100% to 50% at 560px - 850px for no reason as there was nothing beside them.

After the patch:
Bartik inherits the styles that the incorrect class missed out :)

emma.maria’s picture

Issue summary: View changes
emma.maria’s picture

Status: Needs review » Reviewed & tested by the community
Dries’s picture

Status: Reviewed & tested by the community » Fixed

Nice catch and thanks for the fix. Committed!

  • Dries committed 4fef7db on 8.0.x
    Issue #2365653 by emma.maria, stefan.korn: CSS definition for one...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.