Skip to content

Conversation

@ao2
Copy link

@ao2 ao2 commented Jul 10, 2017

The grid columns can be distracting when debugging the layout using
other tools, like for instance the svg grid from Susy:

#page {
@include set-container;
background: susy-svg-grid() no-repeat scroll;
}

So add two new configuration variables ($debug-grid-show-rows and
$debug-grid-show-columns) to control showing rows and columns of the
megatype debug grid.

The default behavior is unchanged, the user has to explicitly disable
the display of rows and columns in their configuration.

NOTE: The default output should also be identical to the current one, I am not sure if there is some more elegant way to avoid the rather ugly string concatenation I used.

Thanks,
Antonio

The grid columns can be distracting when debugging the layout using
other tools, like for instance the svg grid from Susy:

  #page {
    @include set-container;
    background: susy-svg-grid() no-repeat scroll;
  }

So add two new configuration variables ($debug-grid-show-rows and
$debug-grid-show-columns) to control showing rows and columns of the
megatype debug grid.

The default behavior is unchanged, the user has to explicitly disable
the display of rows and columns in their configuration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants