Skip to content
This repository was archived by the owner on Feb 13, 2019. It is now read-only.

Commit 15da6ee

Browse files
Fix display of carousel images on older browsers (#729)
See: aspnet/Templates#582 Thanks!
1 parent 50c619a commit 15da6ee

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

templates/projects/webbasic/wwwroot/css/site.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ textarea {
2222
font-size: 20px;
2323
line-height: 1.4;
2424
}
25+
26+
/* Make .svg files in the carousel display properly in older browsers */
27+
.carousel-inner .item img[src$=".svg"]
28+
{
29+
width: 100%;
30+
}
31+
2532
/* Hide/rearrange for smaller screens */
2633
@media screen and (max-width: 767px) {
2734
/* Hide captions */

templates/projects/webbasic/wwwroot/css/site.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)