Skip to content

Commit

Permalink
rename class for backward compatibility (#412)
Browse files Browse the repository at this point in the history
  • Loading branch information
devonpis authored Jan 17, 2022
1 parent 64714b1 commit cb26120
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
text-align: left;
font-style: italic;
margin-top: 0.5em;
.figure-credits {
.figure-credits, .figure-cc {
font-style: normal;
color: #757575;
}
Expand Down
16 changes: 8 additions & 8 deletions src/docs/components/images.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ <h4>Basic</h4>
&lt;img src="https://via.placeholder.com/300.png/ccc/ccc" alt="" /&gt;
&lt;figcaption>
Caption text here
&lt;div class="figure-credits"&gt;Figure credits here&lt;/div&gt;
&lt;div class="figure-cc"&gt;Figure credits here&lt;/div&gt;
&lt;/figcaption&gt;
&lt;/figure&gt;
</code></pre>
Expand All @@ -108,7 +108,7 @@ <h4>Basic</h4>
<img src="https://via.placeholder.com/300.png/ccc/ccc" alt=""/>
<figcaption>
Caption text here
<div class="figure-credits">Figure credits here</div>
<div class="figure-cc">Figure credits here</div>
</figcaption>
</figure>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
Expand All @@ -124,7 +124,7 @@ <h4>Alignment</h4>
&lt;img src="https://via.placeholder.com/300.png/ccc/ccc" alt="" /&gt;
&lt;figcaption>
Caption text here
&lt;div class="figure-credits"&gt;Figure credits here&lt;/div&gt;
&lt;div class="figure-cc"&gt;Figure credits here&lt;/div&gt;
&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;
Expand All @@ -138,7 +138,7 @@ <h4>Alignment</h4>
<img src="https://via.placeholder.com/300.png/ccc/ccc" alt=""/>
<figcaption>
Caption text here
<div class="figure-credits">Figure credits here</div>
<div class="figure-cc">Figure credits here</div>
</figcaption>
</figure>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
Expand All @@ -148,7 +148,7 @@ <h4>Alignment</h4>
<img src="https://via.placeholder.com/300.png/ccc/ccc" alt=""/>
<figcaption>
Caption text here
<div class="figure-credits">Figure credits here</div>
<div class="figure-cc">Figure credits here</div>
</figcaption>
</figure>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
Expand All @@ -162,7 +162,7 @@ <h4>Alignment</h4>
<img src="https://via.placeholder.com/300.png/ccc/ccc" alt="" />
<figcaption>
Caption text here
<div class="figure-credits">Figure credits here</div>
<div class="figure-cc">Figure credits here</div>
</figcaption>
</figure>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et
Expand All @@ -186,7 +186,7 @@ <h1 class="mt-4">Enlarge image</h1>
&lt;/a&gt;
&lt;figcaption&gt;
Caption text here
&lt;div class="figure-credits"&gt;Figure credits here&lt;/div&gt;
&lt;div class="figure-cc"&gt;Figure credits here&lt;/div&gt;
&lt;/figcaption&gt;
&lt;/figure&gt;
</code></pre>
Expand All @@ -199,7 +199,7 @@ <h1 class="mt-4">Enlarge image</h1>
</a>
<figcaption>
Caption text here
<div class="figure-credits">Figure credits here</div>
<div class="figure-cc">Figure credits here</div>
</figcaption>
</figure>
</section>
Expand Down

0 comments on commit cb26120

Please sign in to comment.