Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.media-grid is hardcoded #337

Closed
valentinvieriu opened this issue Sep 29, 2011 · 1 comment
Closed

.media-grid is hardcoded #337

valentinvieriu opened this issue Sep 29, 2011 · 1 comment
Milestone

Comments

@valentinvieriu
Copy link

The media grid option is hardcoded. Here is a better version for that using the @gridGutterWidth and @baseline

.media-grid {
  margin-left: -@gridGutterWidth;
  margin-bottom: 0;
  .clearfix();
  li {
    display: inline;
  }
  a {
    float: left;
    padding: 4px;
    margin: 0 0 @baseline @gridGutterWidth;
    border: 1px solid #ddd;
    .border-radius(4px);
    .box-shadow(0 1px 1px rgba(0,0,0,.075));
    img {
      display: block;
    }
    &:hover {
      border-color: @linkColor;
      .box-shadow(0 1px 4px rgba(0,105,214,.25));
    }
  }
}
@mdo
Copy link
Member

mdo commented Oct 4, 2011

Good call. Adding that to the dev branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants