2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03:00

Use callout without custom Jekyll plugin.

This commit is contained in:
m5o
2018-01-16 00:49:36 +02:00
committed by XhmikosR
parent 7b2427cc6b
commit b5e6eb22a6
30 changed files with 110 additions and 118 deletions
+3 -2
View File
@@ -22,13 +22,14 @@ Below is an example of a single media object. Only two classes are required—th
</div>
{% endexample %}
{% callout warning %}
{% capture callout %}
##### Flexbug #12: Inline elements aren't treated as flex items
Internet Explorer 10-11 do not render inline elements like links or images (or `::before` and `::after` pseudo-elements) as flex items. The only workaround is to set a non-inline `display` value (e.g., `block`, `inline-block`, or `flex`). We suggest using `.d-flex`, one of our [display utilities]({{ site.baseurl }}/docs/{{ site.docs_version }}/utilities/display/), as an easy fix.
**Source:** [Flexbugs on GitHub](https://github.com/philipwalton/flexbugs#12-inline-elements-are-not-treated-as-flex-items)
{% endcallout %}
{% endcapture %}
{% include callout.html content=callout type="warning" %}
## Nesting
+1 -2
View File
@@ -103,8 +103,7 @@ We occasionally use media queries that go in the other direction (the given scre
// No media query since the extra-large breakpoint has no upper bound on its width
{% endhighlight %}
{% capture callout-include %}{% include callout-info-mediaqueries-breakpoints.md %}{% endcapture %}
{{ callout-include | markdownify }}
{% include callout-info-mediaqueries-breakpoints.md %}
Once again, these media queries are also available via Sass mixins: