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

Use @carousel-control-font-size for in min-width sm #16975

Merged
merged 1 commit into from Nov 13, 2015
Merged

Conversation

kkirsche
Copy link
Contributor

Fix #16973

As 30px was hard coded for the following attribute values: width, height, and font-size, I have used the same pixel formula for each of these three as the @carousel-control-width is a percent value not a pixel value in variables.less

If margin-top should be calculated we can also do that with a (@carousel-control-font-size * -0.75)

Fix twbs#16973

As 30px was hard coded for the following attribute values: `width`, `height`, and `font-size`, I have used the same pixel formula for each of these three as the `@carousel-control-width` is a percent value not a pixel value in variables.less
@cvrebert cvrebert added the css label Aug 12, 2015
@mdo
Copy link
Member

mdo commented Nov 9, 2015

If margin-top should be calculated we can also do that with a (@carousel-control-font-size * -0.75)

Yup, it should.

@mdo mdo added this to the v3.3.6 milestone Nov 9, 2015
@cvrebert cvrebert added the v3 label Nov 9, 2015
mdo added a commit that referenced this pull request Nov 13, 2015
Use @carousel-control-font-size for in min-width sm
@mdo mdo merged commit 332ed55 into twbs:master Nov 13, 2015
@mdo mdo mentioned this pull request Nov 13, 2015
mdo added a commit that referenced this pull request Nov 13, 2015
@mdo
Copy link
Member

mdo commented Nov 13, 2015

Took care of the margin changes in 1565c11.

krissihall pushed a commit to krissihall/bootstrap that referenced this pull request Feb 24, 2016
* tag 'v3.3.6' of https://github.com/twbs/bootstrap: (356 commits)
  prep release
  grunt after version bump
  bump version
  grunt
  Updating "Reporting upstream browser bugs" for IE
  Docs: Add missing `tabindex="-1"` & `role="dialog"` to some `.modal`s
  Ensure proper z-indexing in input-groups
  Fix IE9 clickthru of carousel controls
  that @cvrebert lifestyle
  fixes twbs#17003
  [v3] Use border-radius mixin in button-groups.less
  Follow up to twbs#16975
  Run `grunt`.
  Update devDependencies.
  Update verb tenses to proper tense for feature deprecations
  Port 33103c0 to v3
  Port 6f14f02 to v3
  Add http://wkbug.com/150715 to Wall of Browser Bugs
  Add docs regarding .progress, inline style attrs, and CSP; closes twbs#17785
  Run `grunt.
  ...
chiraggmodi pushed a commit to chiraggmodi/bootstrap that referenced this pull request Apr 8, 2019
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.

None yet

3 participants