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

Typo in Docs - CSS > Using Less > Retina Images #12450

Closed
adamgruber opened this issue Jan 30, 2014 · 0 comments
Closed

Typo in Docs - CSS > Using Less > Retina Images #12450

adamgruber opened this issue Jan 30, 2014 · 0 comments

Comments

@adamgruber
Copy link

In the Retina Images section, the example defines the mixin as:

.img-retina(@file-1x; @file-2x; @width-1x; @height-1x) {
  background-image: url("@{file-1x}");
...

but the usage is shown as

// Usage
.jumbotron {
  .retina-image("/img/bg-1x.png", "/img/bg-2x.png", 100px, 100px);
}

It should be .img-retina to match the name of the mixin.

ithcy pushed a commit to stevelaz/bootstrap that referenced this issue Feb 3, 2014
* upstream/master: (987 commits)
  add Bower badge to README
  Don't re-set indent style for [*.py]
  grunt after last commits
  Use scss option instead of css for better highlighting
  fix twbs#12484
  most of Bootstrap's components are pure CSS and thus don't require jQuery
  Downgrade holder.js to v2.2.0.
  fix "pading-right" [sic] typo in dashboard.css; fixes twbs#12455
  use correct+newer name for retina mixin in docs; fixes twbs#12450
  Fix issue causing .navbar-brand element height to be shorter than .navbar height
  update to browserstack-runner v0.1.0
  update to grunt-saucelabs v5.0.0
  rm duplicate warning callouts in Input Groups docs
  Apply eaa2b83 to master as well
  Update jQuery to v1.11.0.
  rm outdated note about lack of .col-{xs,sm}-offset-0; fixes twbs#12439
  note specific versions of IE where progress bar animation supported; fixes twbs#12437
  Bump versions, run grunt
  grunt
  its an email input
  ...

Conflicts:
	.gitignore
	dist/css/bootstrap-theme.css
	dist/css/bootstrap-theme.min.css
	dist/css/bootstrap.css
	dist/css/bootstrap.min.css
	dist/js/bootstrap.js
	dist/js/bootstrap.min.js
	less/panels.less
	less/variables.less
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant